docs(alert): document custom properties (#16251)

references #14850
This commit is contained in:
Cam Wiegert
2018-11-06 16:05:19 -06:00
committed by GitHub
parent 2fcff2c263
commit 93ae2c8f66
2 changed files with 14 additions and 0 deletions

View File

@@ -4,6 +4,11 @@
// --------------------------------------------------
:host {
/**
* @prop --background: Background of the alert
* @prop --min-width: Minimum width of the alert
* @prop --max-height: Maximum height of the alert
*/
--min-width: #{$alert-min-width};
--max-height: #{$alert-max-height};

View File

@@ -105,6 +105,15 @@ Type: `Promise<void>`
## CSS Custom Properties
| Name | Description |
| -------------- | --------------------------- |
| `--background` | Background of the alert |
| `--max-height` | Maximum height of the alert |
| `--min-width` | Minimum width of the alert |
----------------------------------------------
*Built with [StencilJS](https://stenciljs.com/)*