UNPKG

react-material-web-components

Version:
35 lines (30 loc) 623 B
import React, {PureComponent} from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' class ToolbarRow extends PureComponent { static displayName = 'ToolbarRow' static propTypes = { children: PropTypes.node, className: PropTypes.string, } render() { const { children, className, ...otherProps, } = this.props const cssClasses = classNames( 'mdc-toolbar__row', className ) return ( <div {...otherProps} className={cssClasses} > {children} </div> ) } } export default ToolbarRow