<RadioGroup defaultValue="d1">
<Stack direction="row" gap="sm" align="center">
<Radio value="d1" />
<Label>D1</Label>
</Stack>
<Stack direction="row" gap="sm" align="center">
<Radio value="postgres" />
<Label>Postgres</Label>
</Stack>
</RadioGroup>import { RadioGroup, Radio, Label, Stack } from "@dash/server";Prop | Type | Description |
|---|---|---|
| value | string | |
| defaultValue | string | |
| orientation | "horizontal" | "vertical" | |
| disabled | boolean | |
| onValueChange | (value: string) => void |
Prop | Type | Description |
|---|---|---|
| value (required) | string | |
| disabled | boolean |