@ucloud-pccl/react-components
Version:
UCloud pccl react components
20 lines (19 loc) • 698 B
TypeScript
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";