UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

45 lines 1.33 kB
import { default as React } from 'react'; export interface AvatarTheme { container: { width: string; height: string; borderRadius: string; display: string; alignItems: string; justifyContent: string; backgroundColor: string; color: string; fontSize: string; fontWeight: string | number; boxShadow?: string; border?: string; overflow: string; }; } export interface AvatarStyles { theme?: 'light' | 'dark' | 'sacred'; size?: 'small' | 'medium' | 'large' | 'xl'; width?: string; height?: string; backgroundColor?: string; color?: string; borderRadius?: string; fontSize?: string; fontWeight?: string | number; border?: string; borderColor?: string; borderWidth?: string; boxShadow?: string; margin?: string; marginTop?: string; marginBottom?: string; marginLeft?: string; marginRight?: string; disabled?: boolean; } export declare const avatarThemes: Record<'light' | 'dark' | 'sacred', AvatarTheme>; export declare const getAvatarTheme: (styles?: AvatarStyles) => AvatarTheme; export declare const getAvatarStyles: (styles?: AvatarStyles, isDisabled?: boolean) => { container: React.CSSProperties; }; //# sourceMappingURL=avatar.d.ts.map