forked from Charlie85270/tail-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tsx
33 lines (31 loc) · 1.16 KB
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React, { FC } from "react";
import AppLayout from "../../../components/layout/AppLayout";
import ComponentLayout from "../../../components/layout/ComponentLayout";
import SectionHeader from "../../../components/site/header/SectionHeader";
import Checkbox from "../../../components/kit/components/form/toggle/Checkbox";
import MultipleToggle from "../../../components/kit/components/form/toggle/MultipleToggle";
import Radio from "../../../components/kit/components/form/toggle/Radio";
const TogglePage: FC = () => {
return (
<AppLayout
title="Toggle elements section free Tailwind components"
desc="Toggle elements and more components for tailwind css"
>
<SectionHeader title="Toggle" />
<ComponentLayout
title="simple"
needConfiguration={true}
element={<Checkbox />}
component={Checkbox}
/>
<ComponentLayout
title="toggle"
needConfiguration={true}
element={<MultipleToggle onChange={() => null} />}
component={MultipleToggle}
/>
<ComponentLayout title="radio" element={<Radio />} component={Radio} />
</AppLayout>
);
};
export default TogglePage;