@fakel/rest-admin
Version:
An application that makes it easier to work with your API
13 lines (12 loc) • 393 B
TypeScript
import React from 'react';
export declare type AvatarType = 'text' | 'icon' | 'image';
export declare type AvatarTextFunction = (user: any) => string;
declare type UserProps = {
avatarType?: AvatarType;
avatarText?: string | AvatarTextFunction;
avatarIcon?: React.ReactNode;
avatarImageSrc?: string;
user: any;
};
export declare const User: React.FC<UserProps>;
export {};