diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-17 22:26:16 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-17 22:54:17 +0100 |
| commit | a6233863da4203bec781e817963ac3733279cab5 (patch) | |
| tree | b075753c4336b737d41c178451551c40c1016951 /src/components/Form/index.tsx | |
| parent | 68138f0dcd8b3db2c23b31a20508726f245b5ba5 (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.tsx | 3 |
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 }; |
