docs(): add toggle usage

This commit is contained in:
mhartington
2018-06-15 16:42:45 -04:00
parent 81611946ee
commit 5c3ad2f3d9
4 changed files with 48 additions and 38 deletions

View File

@ -27,14 +27,12 @@ export class Toggle implements CheckboxInput {
/**
* The color to use from your Sass `$colors` map.
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
* For more information, see [Theming your App](/docs/theming/theming-your-app).
*/
@Prop() color?: Color;
/**
* The mode determines which platform styles to use.
* Possible values are: `"ios"` or `"md"`.
* For more information, see [Platform Styles](/docs/theming/platform-specific-styles).
*/
@Prop() mode!: Mode;