UNPKG

@atlaskit/avatar

Version:

An avatar is a visual representation of a user or entity.

35 lines (34 loc) 1.07 kB
/** * @jsxRuntime classic * @jsx jsx */ import { type FC } from 'react'; import { type AppearanceType, type SizeType } from './types'; export interface SkeletonProps { /** * Indicates the shape of the avatar skeleton. Most avatars are circular, but square avatars can be used for container objects. */ appearance?: AppearanceType; /** * Color of the skeleton. By default, it will inherit the current text color. */ color?: string; /** * Defines the size of the avatar skeleton. */ size?: SizeType; /** * Defines the opacity of the avatar skeleton. Use `weight="normal"` for the default opacity, or `weight="strong"` for a bolder opacity. */ weight?: 'normal' | 'strong'; } /** * __Skeleton__ * * A skeleton is the loading state for the avatar component. * * - [Examples](https://atlassian.design/components/avatar/avatar-skeleton/examples) * - [Code](https://atlassian.design/components/avatar/avatar-skeleton/code) */ declare const Skeleton: FC<SkeletonProps>; export default Skeleton;