@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
29 lines • 1.51 kB
TypeScript
import { CSProps } from '@workday/canvas-kit-styling';
export interface SkeletonTextProps extends CSProps {
/**
* The number of "lines" that SkeletonText will display. If there is more than one line, the last line will have a width of `60%`.
* @default 2
*/
lineCount?: number;
/**
* The background color of the skeleton
* @default Surface shimmer gradient (`surface.alt.strong` → `surface.loading`); override with a solid color
*/
backgroundColor?: string;
}
export declare const skeletonTextLineStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {
backgroundColor: string;
}, import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {
backgroundColor: string;
}, never>, {}, {
backgroundColor: string;
}, never, never>>, {}, {
backgroundColor: string;
}, import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {
backgroundColor: string;
}, never>, {}, {
backgroundColor: string;
}, never, never>, never>;
export declare const skeletonTextStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {}, never>, {}, {}, never, never>;
export declare const SkeletonText: import("@workday/canvas-kit-react/common").ElementComponent<"div", SkeletonTextProps>;
//# sourceMappingURL=SkeletonText.d.ts.map