@fifteen/design-system-vue
Version:
Vue 3 (Composition API + Typescript) implementation of the Fifteen Design System
42 lines (41 loc) • 1.3 kB
TypeScript
import { Color } from '../types/colors';
export interface FSkeletonProps {
/**
* Default background color of the skeleton
*/
backgroundColor?: Color;
/**
* Background color used as second color of the animation
*/
backgroundColorTo?: Color;
/**
* Animate or not the background color of the skeleton with a fade effect
*/
animate?: boolean;
/**
* Height of the skeleton
*/
height?: string | number;
/**
* Width of the skeleton
*/
width?: string | number;
/**
* Default rounded border (used e.g. on input) for the skeleton
*/
rounded?: boolean;
/**
* Bigger rounded border (used e.g. on the button) for the skeleton
*/
roundedFull?: boolean;
}
declare const _default: import('vue').DefineComponent<FSkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FSkeletonProps> & Readonly<{}>, {
width: string | number;
animate: boolean;
rounded: boolean;
height: string | number;
backgroundColor: Color;
backgroundColorTo: Color;
roundedFull: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;