UNPKG

@coreui/react-pro

Version:

UI Components Library for React.js

24 lines (20 loc) 832 B
'use strict'; var tslib_es6 = require('../../node_modules/tslib/tslib.es6.js'); var PropTypes = require('prop-types'); var React = require('react'); var index = require('../../_virtual/index.js'); var props = require('../../props.js'); const CTableFoot = React.forwardRef((_a, ref) => { var { children, className, color } = _a, rest = tslib_es6.__rest(_a, ["children", "className", "color"]); return (React.createElement("tfoot", Object.assign({ className: index.default({ [`table-${color}`]: color, }, className) || undefined }, rest, { ref: ref }), children)); }); CTableFoot.propTypes = { children: PropTypes.node, className: PropTypes.string, color: props.colorPropType, }; CTableFoot.displayName = 'CTableFoot'; exports.CTableFoot = CTableFoot; //# sourceMappingURL=CTableFoot.js.map