1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add deprecation notice instead of removing prop

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-06-01 12:49:00 -04:00
parent 7220edac41
commit fa1edb49ad

View File

@ -12,6 +12,13 @@ export interface DrawerItemProps extends React.HTMLAttributes<HTMLDivElement> {
title?: string; title?: string;
labelsOnly?: boolean; labelsOnly?: boolean;
hidden?: boolean; hidden?: boolean;
/**
* @deprecated This prop is no longer used, you should stringify the booleans yourself.
*
* This was only meant to be an internal prop anyway.
*/
renderBooleans?: boolean;
} }
export function DrawerItem({ export function DrawerItem({