Skip to content

Commit

Permalink
TG docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Jun 18, 2024
1 parent 605188a commit 1466e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/ToggleGroup/ToggleGroup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ En toggle group er en gruppe knapper som gjør at brukerne kan bytte mellom tils
```tsx
import { ToggleGroup } from '@digdir/designsystemet-react';

<ToggleGroup defaultValue='value1'>
<ToggleGroup.Root defaultValue='value1'>
<ToggleGroup.Item value='value1'>Option 1</ToggleGroup.Item>
<ToggleGroup.Item value='value2'>Option 2</ToggleGroup.Item>
<ToggleGroup.Item value='value3'>Option 3</ToggleGroup.Item>
</ToggleGroup>;
</ToggleGroup.Root>;
```

## Only Icons
Expand Down

0 comments on commit 1466e66

Please sign in to comment.