wix-style-react
Version:
wix-style-react
13 lines • 681 B
JavaScript
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