- NeuReaction
NeuReaction is a component which you can use as a reaction button.
Props
This component accepts 2 props:
size
- size of reaction button (in px)children
- This represents children of NeuReaction component. You do not need to pass this prop explicilty toNeuReaction
component. Instead just wrap child components inNeuReaction
opening and closing tags.
import { NeuReaction } from 'neumorphic-ui';class Example extends Component {render () {return (<NeuReaction ><img src={like} width="30px" height="30px"></NeuReaction>)}}