diff --git a/apps/web/vibes/soul/docs/modal.mdx b/apps/web/vibes/soul/docs/modal.mdx index 37e729a6b..d4067cb9b 100644 --- a/apps/web/vibes/soul/docs/modal.mdx +++ b/apps/web/vibes/soul/docs/modal.mdx @@ -16,17 +16,17 @@ import { useState } from 'react'; import { Modal } from '@/vibes/soul/primitives/modal'; function Usage() { - const [isOpen, setIsOpen] = useState(true); + const [isOpen, setIsOpen] = useState(true); return ( - Open Modal} - > -

Put your content here!

-
+ Open Modal} + > +

Put your content here!

+
); } `} @@ -40,13 +40,16 @@ This component uses the Dialog component from Radix UI. Refer to the [Radix UI D ### ModalProps -| Prop | Type | Default | -| ----------- | ------------------------- | ------- | -| `isOpen*` | `boolean` | | -| `setOpen*` | `(open: boolean) => void` | | -| `title*` | `string` | | -| `trigger*` | `ReactNode` | | -| `children*` | `ReactNode` | | +| Prop | Type | Default | +| ------------ | ------------------------- | ------- | +| `className` | `string` | | +| `isOpen` | `boolean` | | +| `setOpen` | `(open: boolean) => void` | | +| `required` | `boolean` | `false` | +| `hideHeader` | `boolean` | `false` | +| `title*` | `string` | | +| `trigger*` | `ReactNode` | | +| `children*` | `ReactNode` | | ### CSS Variables diff --git a/apps/web/vibes/soul/examples/form/checkbox-group/index.tsx b/apps/web/vibes/soul/examples/form/checkbox-group/index.tsx index 9ef52c664..cd7b7ddd9 100644 --- a/apps/web/vibes/soul/examples/form/checkbox-group/index.tsx +++ b/apps/web/vibes/soul/examples/form/checkbox-group/index.tsx @@ -1,22 +1,23 @@ 'use client'; -import { CheckboxGroup } from '@/vibes/soul/form/checkbox-group'; import { useState } from 'react'; +import { CheckboxGroup } from '@/vibes/soul/form/checkbox-group'; + export default function Preview() { const [value, setValue] = useState([]); return (
); diff --git a/apps/web/vibes/soul/examples/form/number-input/index.tsx b/apps/web/vibes/soul/examples/form/number-input/index.tsx index 2ab03c31e..9824126cc 100644 --- a/apps/web/vibes/soul/examples/form/number-input/index.tsx +++ b/apps/web/vibes/soul/examples/form/number-input/index.tsx @@ -3,7 +3,7 @@ import { NumberInput } from '@/vibes/soul/form/number-input'; export default function Preview() { return (
- +
); } diff --git a/apps/web/vibes/soul/examples/form/select/index.tsx b/apps/web/vibes/soul/examples/form/select/index.tsx index cfd9d9575..f3836e554 100644 --- a/apps/web/vibes/soul/examples/form/select/index.tsx +++ b/apps/web/vibes/soul/examples/form/select/index.tsx @@ -4,8 +4,8 @@ export default function Preview() { return (