mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
docs(): usage and examples
This commit is contained in:
@ -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}}> </span>;
|
||||
render() {
|
||||
return <span style={{ width: this.width }}> </span>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user