Skip to content

Commit

Permalink
Update Dialog variants table to make it more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
slhinyc committed Jul 17, 2024
1 parent 4418229 commit 4326907
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/pages/components/dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,12 @@ const App = () => {
```

:::tip
**Match a dialog’s variant to specific buttons and icons:**
| Dialog variant | Button variant | Icon name |
| ----------------------- | -------------- | ---------------------- |
| `warning` | `warning` | `exclamation-triangle` |
| `default` confirmation | `primary` | `exclamation-circle` |
| `default` informational | `primary` | `info-circle` |
**For each dialog type, use a specific dialog variant, button variant, and header icon:**
| Dialog type | Dialog variant | Button variant | Header icon |
| ------------ | ----------- | -------------- | ---------------------- |
| informational | `default` | `primary` | `info-circle` |
| default confirmation | `default` | `primary` | `exclamation-circle` |
| warning confirmation | `warning` | `warning` | `exclamation-triangle` |
:::

### Announcement Dialog
Expand Down

0 comments on commit 4326907

Please sign in to comment.