omim
Version:
Material Design for Omi.
32 lines (31 loc) • 752 B
TypeScript
import { WeElement } from 'omi';
import '../icon';
import '../theme.ts';
interface Props {
alt?: string;
src?: string;
size?: number;
square?: boolean;
icon?: string;
color?: string;
backgroundColor?: string;
}
export default class Avatar extends WeElement<Props> {
static css: any;
static defaultProps: {
size: number;
color: string;
backgroundColor: string;
};
static propTypes: {
alt: StringConstructor;
src: StringConstructor;
size: NumberConstructor;
square: BooleanConstructor;
icon: StringConstructor;
color: StringConstructor;
backgroundColor: StringConstructor;
};
render(props: any): JSX.Element;
}
export {};