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.

17 lines
461 B

/* eslint-disable jsx-a11y/heading-has-content */
import classNames from 'classnames';
import * as React from 'react';
export interface SkeletonTitleProps {
prefixCls?: string;
className?: string;
style?: React.CSSProperties;
width?: number | string;
}
const Title: React.FC<SkeletonTitleProps> = ({ prefixCls, className, width, style }) => (
<h3 className={classNames(prefixCls, className)} style={{ width, ...style }} />
);
export default Title;