import { Button } from "$/component/button"; import { DragAndDropFileInput, FileInput, NumberInput, OptionInput, SelectInput, TextInput } from "$/component/input"; import DangerCheckbox from "$/component/input/checkbox/DangerCheckbox"; import DarkCheckbox from "$/component/input/checkbox/DarkCheckbox"; import InfoCheckbox from "$/component/input/checkbox/InfoCheckbox"; import LightCheckbox from "$/component/input/checkbox/LightCheckbox"; import MattrixwvCheckbox from "$/component/input/checkbox/MattrixwvCheckbox"; import MoltenCheckbox from "$/component/input/checkbox/MoltenCheckbox"; import PrimaryCheckbox from "$/component/input/checkbox/PrimaryCheckbox"; import SecondaryCheckbox from "$/component/input/checkbox/SecondaryCheckbox"; import SuccessCheckbox from "$/component/input/checkbox/SuccessCheckbox"; import TertiaryCheckbox from "$/component/input/checkbox/TertiaryCheckbox"; import WarningCheckbox from "$/component/input/checkbox/WarningCheckbox"; import DangerRadioButton from "$/component/input/radio/DangerRadioButton"; import DarkRadioButton from "$/component/input/radio/DarkRadioButton"; import InfoRadioButton from "$/component/input/radio/InfoRadioButton"; import LightRadioButton from "$/component/input/radio/LightRadioButton"; import MoltenRadioButton from "$/component/input/radio/MoltenRadioButton"; import PrimaryRadioButton from "$/component/input/radio/PrimaryRadioButton"; import RadioButton from "$/component/input/radio/RadioButton"; import RadioList from "$/component/input/radio/RadioList"; import SecondaryRadioButton from "$/component/input/radio/SecondaryRadioButton"; import SuccessRadioButton from "$/component/input/radio/SuccessRadioButton"; import TertiaryRadioButton from "$/component/input/radio/TertiaryRadioButton"; import WarningRadioButton from "$/component/input/radio/WarningRadioButton"; import ButtonSwitch from "$/component/input/switch/ButtonSwitch"; import DangerSwitch from "$/component/input/switch/DangerSwitch"; import DarkSwitch from "$/component/input/switch/DarkSwitch"; import LightSwitch from "$/component/input/switch/LightSwitch"; import MattrixwvSwitch from "$/component/input/switch/MattrixwvSwitch"; import PrimarySwitch from "$/component/input/switch/PrimarySwitch"; import SecondarySwitch from "$/component/input/switch/SecondarySwitch"; import SuccessDangerSwitch from "$/component/input/switch/SuccessDangerSwitch"; import SuccessSwitch from "$/component/input/switch/SuccessSwitch"; import TertiarySwitch from "$/component/input/switch/TertiarySwitch"; import WarningSwitch from "$/component/input/switch/WarningSwitch"; import TextArea from "$/component/input/text/TextArea"; import type { MattrixwvSwitchSize } from "$/types/Input"; import { useState } from "react"; import { BsCheck, BsX } from "react-icons/bs"; export function SwitchContent(): React.ReactNode{ const sizes: MattrixwvSwitchSize[] = [ "xs", "sm", "md", "lg", "xl" ]; return (