- 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 toNeuReactioncomponent. Instead just wrap child components inNeuReactionopening and closing tags.
import { NeuReaction } from 'neumorphic-ui';class Example extends Component {render () {return (<NeuReaction ><img src={like} width="30px" height="30px"></NeuReaction>)}}