From 05e403e3c66ca7e4dcffbf7cfa2f15bc4f6e47d0 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:31:04 -0700 Subject: [PATCH] Update checkbox component --- app/components-preview/page.tsx | 79 ++++++++----- .../Checkbox/Checkbox.container.tsx | 87 +++++++------- app/components/Checkbox/Checkbox.types.ts | 4 - app/components/Checkbox/Checkbox.view.tsx | 14 +-- stories/Checkbox.stories.js | 108 ++++++++++-------- 5 files changed, 162 insertions(+), 130 deletions(-) diff --git a/app/components-preview/page.tsx b/app/components-preview/page.tsx index 8998bfc..8d9df16 100644 --- a/app/components-preview/page.tsx +++ b/app/components-preview/page.tsx @@ -2,13 +2,16 @@ import { useState } from "react"; import TextInput from "../components/TextInput"; -import SelectInput from "../components/SelectInput"; +import Checkbox from "../components/Checkbox"; +import RadioGroup from "../components/RadioGroup"; export default function ComponentsPreview() { const [defaultInputValue, setDefaultInputValue] = useState(""); const [activeInputValue, setActiveInputValue] = useState(""); const [errorInputValue, setErrorInputValue] = useState(""); - const [selectValue, setSelectValue] = useState(""); + const [standardCheckbox, setStandardCheckbox] = useState(false); + const [inverseCheckbox, setInverseCheckbox] = useState(false); + const [radioValue, setRadioValue] = useState(""); return (