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