wix-style-react
Version:
wix-style-react
15 lines • 617 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
import { classes } from '../Table.st.css';
/** TableSubtoolbar */
export const TableSubToolbar = ({ dataHook, children }) => {
return (React.createElement("div", { className: classes.tableSubToolbar, "data-hook": dataHook }, children));
};
TableSubToolbar.displayName = 'Table.SubToolbar';
TableSubToolbar.propTypes = {
/** Applied as data-hook HTML attribute that can be used in the tests */
dataHook: PropTypes.string,
/** Any element to be rendered inside */
children: PropTypes.node,
};
//# sourceMappingURL=TableSubToolbar.js.map