npm)
react-snapcode (React Snapcode Component
Install
$ npm install react-snapcode
Usage (in code)
;
<Snapcode username="TestUsername"/>
Examples
; <Snapcode username="TestSnapchatUsername" width="500px" height="500px" dotsColor="#FF0000" backgroundColor="#0000FF" ghostColor="#008000"/>
Features
- Username props is required.
- Width, height, backgroundColor, ghostColor, dotsColor are optional.
- Height and width default is 320x320.