UNPKG

wix-style-react

Version:
24 lines (21 loc) 527 B
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import styles from './styles.scss'; var Promotion = function Promotion(_ref) { var children = _ref.children, className = _ref.className; return React.createElement( 'div', { className: classnames(styles.promotion, className), 'data-hook': 'menu-promotion' }, children ); }; Promotion.propTypes = { className: PropTypes.string, children: PropTypes.node }; export default Promotion;