Skip to content

Ortee/react-snapcode

Repository files navigation

react-snapcode (npm)

npm version

React Snapcode Component

Install

$ npm install react-snapcode 

Usage (in code)

importSnapcodefrom'react-snapcode';
<Snapcodeusername="TestUsername"/>

Examples

importSnapcodefrom'react-snapcode';<Snapcodeusername="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.

About

⚙ React Snapcode Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published