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-title',
styleUrls: {
@ -13,10 +12,8 @@ import { Color, Mode } from '../../interface';
}
})
export class CardTitle {
/**
* The color to use for the text color.
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
*/
@Prop() color?: Color;
@ -28,9 +25,8 @@ export class CardTitle {
hostData() {
return {
'role': 'heading',
role: 'heading',
'aria-level': '2'
};
}
}