From e79c7ebf0e71023cc3c69a2d476d2e6392bb759f Mon Sep 17 00:00:00 2001 From: lucas lelievre Date: Fri, 3 Nov 2023 11:08:53 -0700 Subject: [PATCH] Add disabled state to Ratio, Fix typos and bad typing (#878) --- gui/src/components/commons/Radio.tsx | 25 +++++++-------- gui/src/components/commons/ThemeSelector.tsx | 2 +- .../settings/pages/GeneralSettings.tsx | 31 ++++++++++--------- 3 files changed, 30 insertions(+), 28 deletions(-) diff --git a/gui/src/components/commons/Radio.tsx b/gui/src/components/commons/Radio.tsx index d88480cd1..fa7cc4623 100644 --- a/gui/src/components/commons/Radio.tsx +++ b/gui/src/components/commons/Radio.tsx @@ -7,7 +7,7 @@ export function Radio({ name, label, value, - desciption, + description, // input props disabled, ...props @@ -15,8 +15,8 @@ export function Radio({ control: Control; name: string; label: string; - value: string | number; - desciption?: string | null; + value: string; + description?: string | null; } & React.HTMLProps) { return ( (