Skip to content

Commit

Permalink
Update src/components/form/FormError.stories.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Malfertheiner <[email protected]>
  • Loading branch information
moritzmock and mmalfertheiner authored Sep 6, 2021
1 parent 3bbbd4d commit 355d71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/FormError.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { FormError } from './FormError'
# FormError

This component is a variation of the [Alert](/docs/components-alert-alert--default-story) component.
Its main purpose is to provide an Alert which goes over to 2 columns, and it is used in combination with the component [SectionContentTwoColumn](/docs/components-section-sectioncontenttwocolumn--default-story).
Its main purpose is to show an error in a form. The default style applies `col-span-2`, so that the error message is shown in one line in `SectionContentTwoColumn` forms.

export const Template = ({ children, ...args }) => (
<FormError {...args}>{children}</FormError>
Expand Down

0 comments on commit 355d71d

Please sign in to comment.