UNPKG

fui-fancyui

Version:
19 lines (18 loc) 789 B
import { CSSProp } from 'styled-components'; import { TextAvatar } from '../../molecules/TextAvatar'; import { TBorderRadiusSizes, TComponentSizesExtended, TLayer } from '../../../types'; import { TUiColorsMain } from '../../../types/TUiColorsMain'; type TtextAvatarSettings = React.ComponentProps<typeof TextAvatar>; export type TFancyProfilePicture = { borderRadius?: TBorderRadiusSizes | 'none'; sizeC?: TComponentSizesExtended | 'fit' | (string & {}); externalStyle?: CSSProp; textAvatarSettings?: Omit<TtextAvatarSettings, 'text'>; nickname?: string; themeType?: TUiColorsMain; layer?: TLayer; }; export type TFancyProfilePictureWithHTMLAttrs = TFancyProfilePicture & React.HtmlHTMLAttributes<HTMLElement> & { children?: React.ReactNode; }; export {};