forked from digdir/designsystemet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(storybook): 🪧 Add fieldset preview (digdir#2047)
Co-authored-by: Michael Marszalek <mimarz@gmail.com>
- Loading branch information
1 parent
1eb94c7
commit 7351ffc
Showing
2 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
import { Meta, ArgTypes } from '@storybook/blocks'; | ||
import { Meta, Controls, Primary } from '@storybook/blocks'; | ||
|
||
import * as FieldsetStories from './Fieldset.stories'; | ||
|
||
<Meta of={FieldsetStories} /> | ||
|
||
<Primary /> | ||
<Controls /> | ||
|
||
# Fieldset | ||
|
||
`Fieldset` er et [fieldset](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset)-element med diverse hjelpfunksjoner for å hjelpe med bruk og gruppering av kontrollelementer i et skjema. | ||
|
||
<ArgTypes /> | ||
|
||
## Referanser | ||
|
||
[Providing a description for groups of form controls using fieldset and legend elements](https://www.w3.org/WAI/WCAG21/Techniques/html/H71) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters