Set theme prop as deprecated

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-02-01 14:58:02 +03:00
1 parent 48b68e97e6
commit 5e4eb8e2b0
1 file changed
+4
+4
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;