summaryrefslogtreecommitdiffstats
path: root/src/components/Form/index.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-17 22:26:16 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-17 22:54:17 +0100
commita6233863da4203bec781e817963ac3733279cab5 (patch)
treeb075753c4336b737d41c178451551c40c1016951 /src/components/Form/index.tsx
parent68138f0dcd8b3db2c23b31a20508726f245b5ba5 (diff)
refactor(settings): make toggle reusable
Toggle will be used for others settings so I extract the functionnality from ThemeToggle.
Diffstat (limited to 'src/components/Form/index.tsx')
-rw-r--r--src/components/Form/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Form/index.tsx b/src/components/Form/index.tsx
index 987e013..0908e9b 100644
--- a/src/components/Form/index.tsx
+++ b/src/components/Form/index.tsx
@@ -2,5 +2,6 @@ import Form from './Form';
import FormItem from './FormItem/FormItem';
import Input from './Input/Input';
import TextArea from './TextArea/TextArea';
+import Toggle from './Toggle/Toggle';
-export { Form, FormItem, Input, TextArea };
+export { Form, FormItem, Input, TextArea, Toggle };