import { Button } from "$/component/button"; import { OptionInput, SelectInput, TextInput } from "$/component/input"; 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/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 (
{ sizes.map((size) => (
{size} Switch
)) }
{ sizes.map((size) => (
Off} onText="On" > {size} Switch
)) }
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
} offNode={} />
); } function SwitchDisplay({ title, children }:{ title: React.ReactNode; children: React.ReactNode; }){ return (

{title}

{children}
); } export function TextContent(){ const selectOptions = [ {value: "1", label: "Test 1"}, {value: "2", label: "Test 2"}, {value: "3", label: "Test 3"}, {value: "4", label: "Test 4"}, {value: "5", label: "Test 5"}, {value: "6", label: "Test 6"}, {value: "7", label: "Test 7"}, {value: "8", label: "Test 8"}, {value: "9", label: "Test 9"}, {value: "10", label: "Test 10"}, {value: "11", label: "Test 11"}, {value: "12", label: "Test 12"}, {value: "13", label: "Test 13"}, {value: "14", label: "Test 14"}, {value: "15", label: "Test 15"}, {value: "16", label: "Test 16"}, {value: "17", label: "Test 17"}, {value: "18", label: "Test 18"}, {value: "19", label: "Test 19"} ]; const [ selected, setSelected ] = useState(selectOptions[0]); return (