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

Set theme prop as deprecated

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-02-01 14:58:02 +03:00
parent 48b68e97e6
commit 5e4eb8e2b0

View File

@ -37,6 +37,10 @@ export interface IconDataFnArg {
export type IconData = string | React.ReactNode | ((opt: IconDataFnArg) => React.ReactNode);
export type InputProps = Omit<InputElementProps, "onChange" | "onSubmit"> & {
/**
* @deprecated
*/
theme?: "round-black" | "round";
lightTheme?: boolean; // Forced light theme, may be used for dialogs which is always "bright"
className?: string;
value?: string;