@synergycodes/overflow-ui
Version:
A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.
21 lines (20 loc) • 489 B
TypeScript
type Props = {
/**
* Provide to use it as alt of the image for better a11y
*/
username: string;
/**
* Image URL
*/
imageUrl?: string;
/**
* Size of the circle container
*/
size?: Size;
};
type Size = 'extra-large' | 'large' | 'medium' | 'small';
/**
* Component for displaying user avatars with various sizes
*/
export declare function Avatar({ imageUrl, username, size }: Props): import("react/jsx-runtime").JSX.Element;
export {};