From 5e4eb8e2b0d876b1098154051315d85795f8ce61 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Tue, 1 Feb 2022 14:58:02 +0300 Subject: [PATCH] Set theme prop as deprecated Signed-off-by: Alex Andreev --- src/renderer/components/input/input.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/components/input/input.tsx b/src/renderer/components/input/input.tsx index dc65e22aee..4248305080 100644 --- a/src/renderer/components/input/input.tsx +++ b/src/renderer/components/input/input.tsx @@ -37,6 +37,10 @@ export interface IconDataFnArg { export type IconData = string | React.ReactNode | ((opt: IconDataFnArg) => React.ReactNode); export type InputProps = Omit & { + /** + * @deprecated + */ + theme?: "round-black" | "round"; lightTheme?: boolean; // Forced light theme, may be used for dialogs which is always "bright" className?: string; value?: string;