mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
import * as React from 'react';
|
|
import classNames from 'classnames';
|
|
|
|
export interface CardGridProps {
|
|
prefixCls?: string;
|
|
style?: React.CSSProperties;
|
|
className?: string;
|
|
}
|
|
|
|
export default (props: CardGridProps) => {
|
|
const { prefixCls = 'ant-card', className, ...others } = props;
|
|
const classString = classNames(`${prefixCls}-grid`, className);
|
|
return <div {...others} className={classString} />;
|
|
};
|