File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,29 @@ layout: component
2121
2222 <form class="form-spacing">
2323 <zn-input label="Name" required></zn-input>
24- <zn-input label="Email" required></zn-input>
24+ <zn-input label="Email" type="email" required></zn-input>
2525 </form>
2626</zn-confirm>
2727```
2828
2929## Examples
3030
31- ### First Example
31+ ### Announcement Confirmations
3232
33- TODO
33+ ``` html:preview
34+ <zn-button id="action-trigger">Trigger Confirm Content</zn-button>
35+ <zn-confirm trigger="action-trigger"
36+ variant="announcement"
37+ type="warning"
38+ caption="Changing the status of this item"
39+ content="By changing the status of this item, you will be affecting the status of all related items.">
40+
41+ <form class="form-spacing">
42+ <zn-input label="Name" required></zn-input>
43+ <zn-input label="Email" type="email" required></zn-input>
44+ </form>
45+ </zn-confirm>
46+ ```
3447
3548### Second Example
3649
You can’t perform that action at this time.
0 commit comments