UNPKG

@coreui/react-pro

Version:

UI Components Library for React.js

22 lines (19 loc) 801 B
import { __rest } from '../../node_modules/tslib/tslib.es6.js'; import PropTypes from 'prop-types'; import React, { forwardRef } from 'react'; import classNames from '../../_virtual/index.js'; import { colorPropType } from '../../props.js'; const CTableFoot = forwardRef((_a, ref) => { var { children, className, color } = _a, rest = __rest(_a, ["children", "className", "color"]); return (React.createElement("tfoot", Object.assign({ className: classNames({ [`table-${color}`]: color, }, className) || undefined }, rest, { ref: ref }), children)); }); CTableFoot.propTypes = { children: PropTypes.node, className: PropTypes.string, color: colorPropType, }; CTableFoot.displayName = 'CTableFoot'; export { CTableFoot }; //# sourceMappingURL=CTableFoot.js.map