Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.38 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.38 KB

react-jazzicon

NPM version dependencies Status devDependencies Status

This is a react component for Dan Finlay's jazzicon.

usage

import Jazzicon from 'react-jazzicon'

export default class App extends React.Component {

  

  render() {
    return (
      <Jazzicon diameter={100} seed={Math.random(100).toString()} />
    )
  }
}

setup

$ https://github.com/marcusmolchany/react-jazzicon
$ cd react-jazzicon
$ yarn # or npm i

demo page

the demo page is on the gh-pages branch in the demo folder.

# first install dependencies in the top level package
$ yarn # or npm i

# then checkout the gh-pages branch and install dependencies in the "demo" folder
$ git checkout gh-pages
$ cd demo && yarn # or npm i
$ yarn start # or npm run start