Skip to content

Commit

Permalink
docs: update table-preview.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
@casey_baggz_omni committed Oct 21, 2024
1 parent 8535e7f commit a60643d
Showing 1 changed file with 24 additions and 27 deletions.
51 changes: 24 additions & 27 deletions docs/app/react/table/components/table-preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,15 @@ export function BasicTablePreview() {
<Td>False</Td>
<Td>
<Field>
<Label htmlFor="1" hidden>
Adopt
<Label htmlFor="1" aria-label="Adopt">
<Toggle
checked={Boolean(first.checked)}
id="1"
onChange={first.handleChange}
size="sm"
value="1"
/>
</Label>
<Toggle
checked={Boolean(first.checked)}
id="1"
onChange={first.handleChange}
size="sm"
value="1"
/>
</Field>
</Td>
</Tr>
Expand All @@ -142,16 +141,15 @@ export function BasicTablePreview() {
<Td>Maybe</Td>
<Td>
<Field>
<Label htmlFor="2" hidden>
Adopt
<Label htmlFor="2" aria-label="Adopt">
<Toggle
checked={Boolean(second.checked)}
id="2"
onChange={second.handleChange}
size="sm"
value="2"
/>
</Label>
<Toggle
checked={Boolean(second.checked)}
id="2"
onChange={second.handleChange}
size="sm"
value="2"
/>
</Field>
</Td>
</Tr>
Expand All @@ -160,16 +158,15 @@ export function BasicTablePreview() {
<Td>True</Td>
<Td>
<Field>
<Label htmlFor="3" hidden>
Adopt
<Label htmlFor="3" aria-label="adopt">
<Toggle
checked={Boolean(third.checked)}
id="3"
onChange={third.handleChange}
size="sm"
value="3"
/>
</Label>
<Toggle
checked={Boolean(third.checked)}
id="3"
onChange={third.handleChange}
size="sm"
value="3"
/>
</Field>
</Td>
</Tr>
Expand Down

0 comments on commit a60643d

Please sign in to comment.