@workday/canvas-kit-preview-react
Version:
Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.
14 lines • 804 B
TypeScript
import { CSProps } from '@workday/canvas-kit-styling';
export interface AvatarNameProps extends CSProps {
/**
* The alt text of the Avatar image. This prop is also used for the initials. The first letter of the first name and the first letter of the second name are chosen for the initials.
*/
name: string;
/**
* If you want full control over the initials, use `preferredInitials` instead.
*/
preferredInitials?: string;
}
export declare const avatarNameStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {}, never>, {}, {}, never, never>;
export declare const AvatarName: import("@workday/canvas-kit-react/common").ElementComponent<"span", AvatarNameProps>;
//# sourceMappingURL=AvatarName.d.ts.map