-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd1b34a
commit 0c868e1
Showing
5 changed files
with
52 additions
and
64 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
3 changes: 1 addition & 2 deletions
3
docs/content/getting-started/form-guideline-disabled-state.demo.tsx
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
21 changes: 11 additions & 10 deletions
21
docs/content/getting-started/form-guideline-error-state.demo.tsx
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,11 +1,12 @@ | ||
import { Headline, NumberField, Stack } from '@marigold/components'; | ||
import { NumberField } from '@marigold/components'; | ||
|
||
<Stack space={2}> | ||
<Headline level={'5'}>Error State</Headline> | ||
<NumberField | ||
label="Quantity" | ||
error | ||
errorMessage="Max number of available tickets is 3" | ||
value={4} | ||
/> | ||
</Stack>; | ||
export default () => { | ||
return ( | ||
<NumberField | ||
label="Quantity" | ||
error | ||
errorMessage="Max number of available tickets is 3" | ||
value={4} | ||
/> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Select } from '@marigold/components'; | ||
|
||
export default () => ( | ||
<Select | ||
label="Genre" | ||
placeholder="Select genre" | ||
description="Select the genre you want." | ||
width="fit" | ||
required | ||
> | ||
<Select.Option id="pop">Pop</Select.Option> | ||
<Select.Option id="hiphop">Hip Hop</Select.Option> | ||
<Select.Option id="rock">Rock</Select.Option> | ||
<Select.Option id="schlager">Schlager</Select.Option> | ||
<Select.Option id="jazz">Jazz</Select.Option> | ||
<Select.Option id="dance">Dance</Select.Option> | ||
</Select> | ||
); |
50 changes: 0 additions & 50 deletions
50
docs/content/getting-started/form-guideline-states.demo.tsx
This file was deleted.
Oops, something went wrong.