File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,13 @@ const options = {
13
13
const App = ( ) => (
14
14
< div >
15
15
< Alert margin = "10" />
16
- < Alert type = "danger" margin = "10" message = "error! occured somewhere." />
17
- < Alert type = "warning" margin = "10" message = "Hurry! check your dependencies!" />
18
- < Alert { ...options } />
16
+ < Alert type = "danger" margin = "10" message = "Danger! This alert box indicates a dangerous or potentially negative action." />
17
+ < Alert type = "warning" margin = "10" message = "Warning! This alert box indicates a warning that might need attention." />
18
+ < Alert type = "secondary" margin = "10" message = "Secondary! This alert box indicates a less important action." />
19
+ < Alert type = "info" margin = "10" message = "Info! This alert box indicates a neutral informative change or action." />
20
+ < Alert type = "success" margin = "10" message = "Success! This alert box indicates a successful or positive action." />
21
+ < Alert type = "light" margin = "10" message = "Light! Light grey alert box." />
22
+ < Alert message = "Custom! modify it by passing optionals" { ...options } />
19
23
</ div >
20
24
) ;
21
25
render ( < App /> , document . getElementById ( "root" ) ) ;
You can’t perform that action at this time.
0 commit comments