UNPKG

@talend/react-components

Version:
22 lines 772 B
import PropTypes from 'prop-types'; import Label from './RowLabel'; import Checkbox from './RowCheckbox'; import cssModule from '../ColumnChooser.module.scss'; import { getTheme } from '../../../../../theme'; import { jsx as _jsx } from "react/jsx-runtime"; const theme = getTheme(cssModule); const ColumnChooserRow = ({ children, className }) => /*#__PURE__*/_jsx("div", { className: theme('tc-column-chooser-row', className), children: children }); ColumnChooserRow.propTypes = { children: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element)]), className: PropTypes.string }; ColumnChooserRow.Checkbox = Checkbox; ColumnChooserRow.Label = Label; export default ColumnChooserRow; //# sourceMappingURL=ColumnChooserRow.component.js.map