UNPKG

@prisma-cms/front-editor

Version:
36 lines (35 loc) 966 B
import { TypographyProps } from 'material-ui/Typography'; import { UiLinkProps } from '../interfaces'; declare type User = any; export declare enum UikitUserLinkAvatarSize { small = "small", normal = "normal" } export declare type UikitUserLinkObject = { __typename?: User['__typename']; id?: User['id']; username?: User['username']; fullname?: User['fullname']; }; export interface UikitUserLinkProps { user?: UikitUserLinkObject | null | undefined; variant?: TypographyProps['variant']; withAvatar?: boolean; classes?: UiLinkProps['classes'] & { avatar: string; }; /** * Дополнительный контент */ secondary?: any; showName?: boolean; size?: UikitUserLinkAvatarSize; avatarProps?: any; /** * Должность или позиция в команде */ position?: any; onClick?: (event?: any) => void; className?: string; } export {};