diff --git a/packages/ui/src/components/radio-group/index.ts b/packages/ui/src/components/radio-group/index.ts new file mode 100644 index 000000000..b7da1d7b6 --- /dev/null +++ b/packages/ui/src/components/radio-group/index.ts @@ -0,0 +1,15 @@ +import { RadioGroup as RadioGroupPrimitive } from 'bits-ui' + +import Root from './radio-group.svelte' +import Item from './radio-group-item.svelte' +const Input = RadioGroupPrimitive.Input + +export { + Input, + Item, + // + Root as RadioGroup, + Input as RadioGroupInput, + Item as RadioGroupItem, + Root, +} diff --git a/packages/ui/src/components/radio-group/radio-group-item.svelte b/packages/ui/src/components/radio-group/radio-group-item.svelte new file mode 100644 index 000000000..2a3952bce --- /dev/null +++ b/packages/ui/src/components/radio-group/radio-group-item.svelte @@ -0,0 +1,42 @@ + + +