mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
15 lines
428 B
TypeScript
15 lines
428 B
TypeScript
import * as React from 'react';
|
|
import classNames from 'classnames';
|
|
|
|
export interface NestedCommentProps {
|
|
prefixCls?: string;
|
|
style?: React.CSSProperties;
|
|
className?: string;
|
|
}
|
|
|
|
export default (props: NestedCommentProps) => {
|
|
const { prefixCls = 'ant-comment', className, ...others } = props;
|
|
const classString = classNames(`${prefixCls}-nested`, className);
|
|
return <div {...others} className={classString} />;
|
|
};
|