mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
15 lines
274 B
TypeScript
15 lines
274 B
TypeScript
import { Component, h, Prop } from '@stencil/core';
|
|
|
|
|
|
@Component({
|
|
tag: 'ion-skeleton-text',
|
|
styleUrls: 'skeleton-text.scss'
|
|
})
|
|
export class SkeletonText {
|
|
@Prop() width: string = '100%';
|
|
|
|
render() {
|
|
return <span style={{width: this.width}}> </span>;
|
|
}
|
|
}
|