@leafygreen-ui/banner
Advanced tools
Comparing version 3.0.2 to 3.0.3
# @leafygreen-ui/banner | ||
## 3.0.3 | ||
### Patch Changes | ||
- Updated dependencies [ba56b1cc] | ||
- @leafygreen-ui/icon@8.0.0 | ||
## 3.0.2 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@leafygreen-ui/banner", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "leafyGreen UI Kit Banner", | ||
@@ -26,4 +26,4 @@ "main": "./dist/index.js", | ||
"@leafygreen-ui/palette": "^3.0.1", | ||
"@leafygreen-ui/icon": "^7.0.2" | ||
"@leafygreen-ui/icon": "^8.0.0" | ||
} | ||
} |
@@ -51,8 +51,8 @@ # Banner | ||
| Prop | Type | Description | Default | | ||
| ------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | ---------- | | ||
| `variant` | `'info'` \| `'warning'` \| `'danger'` \| `'success'` | Sets the variant for the Banner | `'info'` | | ||
| `dismissible` | `boolean` | Determines whether or not the Banner is dismissible | `false` | | ||
| `onClose` | `React.MouseEventHandler` | Callback fired when dismiss button is clicked | `() => {}` | | ||
| `image` | `React.ReactElement` | Illustration that will replace default Icon when the prop is supplied | | | ||
| ... | native `div` attributes | Any other props will be spread on the root `div` element | | | ||
| Prop | Type | Description | Default | | ||
| ------------- | ---------------------------------------------- | --------------------------------------------------------------------- | ---------- | | ||
| `variant` | `'info'`, `'warning'`, `'danger'`, `'success'` | Sets the variant for the Banner | `'info'` | | ||
| `dismissible` | `boolean` | Determines whether or not the Banner is dismissible | `false` | | ||
| `onClose` | `React.MouseEventHandler` | Callback fired when dismiss button is clicked | `() => {}` | | ||
| `image` | `React.ReactElement` | Illustration that will replace default Icon when the prop is supplied | | | ||
| ... | native `div` attributes | Any other props will be spread on the root `div` element | | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
214003
+ Added@leafygreen-ui/icon@8.0.1(transitive)
- Removed@leafygreen-ui/icon@7.1.0(transitive)
Updated@leafygreen-ui/icon@^8.0.0