@storybook/design-system
Version:
Storybook design system
26 lines • 632 B
TypeScript
import { FunctionComponent } from 'react';
export declare const sizes: {
large: number;
medium: number;
small: number;
tiny: number;
};
export declare enum AvatarType {
USER = "user",
ORGANIZATION = "organization"
}
/**
* The `Avatar` component is where all your avatars come to play.
*/
export declare const Avatar: FunctionComponent<Props>;
interface Props {
isLoading?: boolean;
/** The name of the user (not the nice name) */
username?: string;
src?: string;
/** Specify size */
size?: keyof typeof sizes;
type?: AvatarType;
}
export {};
//# sourceMappingURL=Avatar.d.ts.map