From a6233863da4203bec781e817963ac3733279cab5 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 17 Jan 2022 22:26:16 +0100
Subject: refactor(settings): make toggle reusable

Toggle will be used for others settings so I extract the functionnality
from ThemeToggle.
---
 src/components/Form/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/components/Form/index.tsx')

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 };
-- 
cgit v1.2.3

