doj-react-adminlte
Version:
Simple and easy-to-use AdminLTE components for React
35 lines (30 loc) • 745 B
TypeScript
import * as React from 'react';
export interface AvatarProps {
/**
* Set the firstname of the Avatar in this prop.
*/
firstName?: string;
/**
* Set the lastname of the Avatar in this prop.
*/
lastName?: string;
/**
* It specifies the URL of the image.
*/
imgSrc?: string;
/**
* Set the size of the specified Avatar.
*/
size?: number;
/**
* Set the text size in this prop.
*/
textSizeRatio?: number;
/**
* Set to true to change the shape of the component into a rounded shape.
*/
round?: boolean;
}
export default class Avatar extends React.Component<AvatarProps, any> {
render(): JSX.Element;
}