Skip to content

Commit

Permalink
docs: fix: radio page bordered example
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Jun 23, 2024
1 parent e8bcbfa commit 3955f68
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/routes/docs/forms/radio.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,15 @@ Use this example of a radio inside a card element to enable a larger area of cli
```svelte example hideScript
<script>
import { Radio } from 'flowbite-svelte';
let selectedValue3 = "2"
</script>
<div class="grid grid-cols-2 gap-6">
<div class="rounded border border-gray-200 dark:border-gray-700">
<Radio name="bordered" class="w-full p-4">Default radio</Radio>
<Radio name="bordered" value="1" bind:group={selectedValue3} class="w-full p-4">Default radio</Radio>
</div>
<div class="rounded border border-gray-200 dark:border-gray-700">
<Radio name="bordered" class="w-full p-4">Checked state</Radio>
<Radio name="bordered" value="2" bind:group={selectedValue3} class="w-full p-4">Checked state</Radio>
</div>
</div>
```
Expand Down

0 comments on commit 3955f68

Please sign in to comment.