UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

25 lines (24 loc) 783 B
import React from 'react'; import PropTypes from 'prop-types'; import { ColumnProps, TableComponents } from './interface'; export interface ColGroupProps { columns?: ColumnProps[]; prefixCls?: string; className?: string; style?: React.CSSProperties; components?: TableComponents['body']; } export default class ColGroup extends React.PureComponent<ColGroupProps> { static propTypes: { columns: PropTypes.Requireable<any[]>; prefixCls: PropTypes.Requireable<string>; className: PropTypes.Requireable<string>; style: PropTypes.Requireable<object>; components: PropTypes.Requireable<object>; }; static defaultProps: { columns: []; prefixCls: "semi-table"; }; render(): React.JSX.Element; }