docs(): usage and examples

This commit is contained in:
mhartington
2018-06-18 12:45:06 -04:00
parent 518594bcc4
commit 96945b1ee1
66 changed files with 809 additions and 604 deletions

View File

@ -1,6 +1,5 @@
import { Component, Prop } from '@stencil/core';
@Component({
tag: 'ion-skeleton-text',
styleUrls: {
@ -12,9 +11,11 @@ import { Component, Prop } from '@stencil/core';
}
})
export class SkeletonText {
/** Width for the element to render at. Default is 100% */
@Prop() width = '100%';
render () {
return <span style={{width: this.width}}>&nbsp;</span>;
render() {
return <span style={{ width: this.width }}>&nbsp;</span>;
}
}