You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
523 B

import * as React from 'react';
import SkeletonElement, { SkeletonElementProps } from './SkeletonElement';
export interface AvatarProps extends Omit<SkeletonElementProps, 'shape'> {
shape?: 'circle' | 'square';
}
// eslint-disable-next-line react/prefer-stateless-function
class SkeletonAvatar extends React.Component<AvatarProps, any> {
static defaultProps: Partial<SkeletonElementProps> = {
size: 'large',
};
render() {
return <SkeletonElement {...this.props} />;
}
}
export default SkeletonAvatar;