-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Notification): Document Notification component in Styleguidist
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 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
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,38 @@ | ||
|
||
## Minimal usage | ||
|
||
``` | ||
<Notification>Lorem ipsum dolor sit amer.</Notification> | ||
``` | ||
## Branded | ||
|
||
``` | ||
<Notification variant="branded">Lorem ipsum dolor sit amer.</Notification> | ||
``` | ||
|
||
## Success | ||
|
||
Use to denote a successful transaction. | ||
|
||
``` | ||
<Notification variant="success">Lorem ipsum dolor sit amer.</Notification> | ||
``` | ||
|
||
## Error | ||
|
||
Use to denote an error or a failed transaction. | ||
|
||
``` | ||
<Notification variant="error"> | ||
<p>Looks like our registration system is temporarily down. You'll need to come back another time to register for My Account.</p> | ||
<p>Lorem ipsum dolor sit amer.</p> | ||
</Notification> | ||
``` | ||
|
||
## Instructional | ||
|
||
This is the same styling as default. | ||
|
||
``` | ||
<Notification variant="instructional">Lorem ipsum dolor sit amer.</Notification> | ||
``` |