UNPKG

@wix/design-system

Version:

@wix/design-system

21 lines 973 B
import React from 'react'; import PropTypes from 'prop-types'; import { st, classes } from './FullScreenModalLayoutFooter.st.css.js'; import { DATA_HOOKS } from '../../FullScreenModalLayout.constants'; const FullScreenModalLayoutFooter = ({ children, dataHook, className, }) => { return (React.createElement("div", { "data-hook": dataHook || DATA_HOOKS.fullScreenModalLayoutFooter, className: st(classes.root, {}, className) }, children)); }; FullScreenModalLayoutFooter.displayName = 'FullScreenModalLayout.Footer'; FullScreenModalLayoutFooter.propTypes = { /** Applies a data-hook HTML attribute that can be used in tests. */ dataHook: PropTypes.string, /** * Allows you to apply a CSS class to the component's root element. * @internal **/ className: PropTypes.string, /** Footer node */ children: PropTypes.node.isRequired, }; export default FullScreenModalLayoutFooter; //# sourceMappingURL=FullScreenModalLayoutFooter.js.map