Skip to content

Commit

Permalink
docs(action-sheet): document custom properties (#16250)
Browse files Browse the repository at this point in the history
references #14850
  • Loading branch information
camwiegert authored Nov 6, 2018
1 parent 6d3042e commit 2fcff2c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/components/action-sheet/action-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
// --------------------------------------------------

:host {
/**
* @prop --width: Width of the action sheet
* @prop --max-width: Maximum width of the action sheet
*/
--width: #{$action-sheet-width};
--max-width: #{$action-sheet-max-width};

Expand Down
8 changes: 8 additions & 0 deletions core/src/components/action-sheet/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ Type: `Promise<void>`



## CSS Custom Properties

| Name | Description |
| ------------- | --------------------------------- |
| `--max-width` | Maximum width of the action sheet |
| `--width` | Width of the action sheet |


----------------------------------------------

*Built with [StencilJS](https://stenciljs.com/)*

0 comments on commit 2fcff2c

Please sign in to comment.