docs(): update usage and examples

This commit is contained in:
mhartington
2018-05-30 12:40:43 -04:00
parent 8e164d6036
commit 3cdc696847
43 changed files with 389 additions and 397 deletions

View File

@ -1,7 +1,6 @@
import { Component, Prop} from '@stencil/core';
import { Component, Prop } from '@stencil/core';
import { Color, Mode } from '../../interface';
@Component({
tag: 'ion-card-subtitle',
styleUrls: {
@ -15,7 +14,6 @@ import { Color, Mode } from '../../interface';
export class CardSubtitle {
/**
* The color to use for the text color.
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
*/
@Prop() color?: Color;
@ -27,9 +25,8 @@ export class CardSubtitle {
hostData() {
return {
'role': 'heading',
role: 'heading',
'aria-level': '3'
};
}
}

View File

@ -12,7 +12,6 @@
string
The color to use for the text color.
Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
#### mode
@ -30,7 +29,6 @@ Possible values are: `"ios"` or `"md"`.
string
The color to use for the text color.
Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
#### mode