UNPKG

react-redux-toastr

Version:

react-redux-toastr is a React toastr message implemented with Redux

12 lines (8 loc) 280 B
import React from 'react'; const Button = props => ( <button type="button" onClick={() => props.onClick()} className={'rrt-button ' + props.className} ref={props.innerRef}> {props.children} </button> ); Button.displayName = 'ReduxConfirmButton'; export default Button;