Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ortee/react-snapcode

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-snapcode (npm)

npm version

React Snapcode Component

Install

$ npm install react-snapcode

Usage (in code)

import Snapcode from 'react-snapcode';
<Snapcode username="TestUsername"/>

Examples

import Snapcode from 'react-snapcode';

<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.

About

⚙ React Snapcode Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.