format project
This commit is contained in:
parent
7651afaa0b
commit
a6d4064af8
83 changed files with 942 additions and 536 deletions
|
|
@ -1,19 +1,23 @@
|
|||
### alert
|
||||
|
||||
Alert informs users about important events
|
||||
|
||||
[alert docs](https://daisyui.com/components/alert/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `alert`
|
||||
- style: `alert-outline`, `alert-dash`, `alert-soft`
|
||||
- color: `alert-info`, `alert-success`, `alert-warning`, `alert-error`
|
||||
- direction: `alert-vertical`, `alert-horizontal`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<div role="alert" class="alert {MODIFIER}">{CONTENT}</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- {MODIFIER} is optional and can have one of each style/color/direction class names
|
||||
- Add `sm:alert-horizontal` for responsive layouts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue