@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
36 lines • 1.14 kB
TypeScript
import { CSProps } from '@workday/canvas-kit-styling';
export interface SkeletonShapeProps extends CSProps {
/**
* The width of the shape in `px` or `%`.
* @default 100%
*/
width?: number | string;
/**
* The height of the shape in `px` or `%`.
* @default 100%
*/
height?: number | string;
/**
* The borderRadius of the shape in `px` or `%`.
* @default 0
*/
borderRadius?: number | string;
/**
* The background color of the skeleton
* @default `system.color.bg.alt.strong`
*/
backgroundColor?: string;
}
export declare const skeletonShapeStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {
width: string;
height: string;
borderRadius: string;
backgroundColor: string;
}, never>, {}, {
width: string;
height: string;
borderRadius: string;
backgroundColor: string;
}, never, never>;
export declare const SkeletonShape: import("@workday/canvas-kit-react/common").ElementComponent<"div", SkeletonShapeProps>;
//# sourceMappingURL=SkeletonShape.d.ts.map