UNPKG

452 BTypeScriptView Raw
1import { ColProps } from './Col';
2import { Variant } from './types';
3export declare type PlaceholderAnimation = 'glow' | 'wave';
4export declare type PlaceholderSize = 'xs' | 'sm' | 'lg';
5export interface UsePlaceholderProps extends Omit<ColProps, 'as'> {
6 animation?: PlaceholderAnimation;
7 bg?: Variant;
8 size?: PlaceholderSize;
9}
10export default function usePlaceholder({ animation, bg, bsPrefix, size, ...props }: UsePlaceholderProps): any;