retabler
Version:
React Component library via Tabler
25 lines (24 loc) • 803 B
TypeScript
import * as React from "react";
import { Color } from "../common";
export interface AlertListProps {
children: React.ReactNode;
className?: string;
stacked?: boolean;
}
export declare type Shape = "rounded" | "rounded-circle" | "rounded-0" | "rounded-lg";
export declare type Size = "sm" | "md" | "lg" | "xl";
export interface AvatarProps {
children?: React.ReactNode;
className?: string;
color?: Color;
imageURL?: string;
size?: Size;
shape?: Shape;
status?: Color;
style?: React.CSSProperties;
}
export declare const Avatar: {
({ children, className, imageURL, shape, style, size, status, color, }: AvatarProps): JSX.Element;
List: ({ children, className, stacked }: AlertListProps) => JSX.Element;
};
export default Avatar;