UNPKG

@ucloud-pccl/react-components

Version:
20 lines (19 loc) 698 B
declare function BodyTable(props: any, { table }: { table: any; }): React.JSX.Element; declare namespace BodyTable { namespace propTypes { const columns: PropTypes.Validator<any[]>; const tableClassName: PropTypes.Validator<string>; const handleBodyScroll: PropTypes.Validator<(...args: any[]) => any>; const getRowKey: PropTypes.Validator<(...args: any[]) => any>; const expander: PropTypes.Validator<object>; const tableLayout: PropTypes.Requireable<string>; } namespace contextTypes { const table: PropTypes.Requireable<any>; } } export default BodyTable; import React from "react"; import PropTypes from "prop-types";