UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

37 lines (35 loc) 735 B
import { mode } from '../tools'; // Skeleton export const Skeleton = { baseStyle: props => { return { startColor: mode('muted.200', 'muted.600')(props), endColor: 'transparent', overflow: 'hidden', fadeDuration: 0.1, speed: 1.0, h: '10', w: '100%' }; } }; // SkeletonText export const SkeletonText = { baseStyle: props => { return { startColor: mode('muted.200', 'muted.600')(props), endColor: 'transparent', fadeDuration: 0.1, w: '100%', speed: 1.0, flexDirection: 'column', _line: { h: 3, rounded: 'full' } }; }, defaultProps: { lines: 3, space: 3 } }; //# sourceMappingURL=skeleton.js.map