UNPKG

wix-style-react

Version:
13 lines 681 B
import React from 'react'; import PropTypes from 'prop-types'; import { BulkSelectionConsumer, BulkSelectionContextPropTypes, } from '../BulkSelection'; export const TableToolbarContainer = props => { return (React.createElement(BulkSelectionConsumer, { consumerCompName: "Table.ToolbarContainer", providerCompName: "Table" }, props.children)); }; TableToolbarContainer.displayName = 'Table.ToolbarContainer'; TableToolbarContainer.propTypes = { children: PropTypes.any, }; /** Helper for PropTypes for components which consume the SelectionContext */ export const SelectionContextPropTypes = BulkSelectionContextPropTypes; //# sourceMappingURL=TableToolbarContainer.js.map