@ray-js/skeleton
v1.2.0
Published
骨架屏
Downloads
4
Readme
English | 简体中文
@ray-js/skeleton
Skeleton
Installation
$ npm install @ray-js/skeleton
# or
$ yarn add @ray-js/skeleton
Usage
.customSkeleton {
--width: 50%; // The following css variables are supported
--height: 20px;
--border-radius: 8px;
}
import Skeleton from '@ray-js/skeleton';
export default () => {
return (
<View>
<Skeleton animated className={styles.customSkeleton} />
<Skeleton.Title />
<Skeleton.Paragraph />
</View>
)
};