@emurgo/react-native-blockies-svg

0.0.4 • Public • Published

react-native-blockies-svg

Ethereum blockies for React Native as SVGs. Based on https://github.com/ethereum/blockies

Depends on react-native-svg and needs to be linked.

Install

yarn add git+https://github.com/bpeters/react-native-blockies-svg.git

react-native link

General Usage

Treat like any other react component, included props: size, scale, seed, color, bgcolor, and spotcolor.

import Blockies from 'react-native-blockies-svg';

render() {
    return (
        <Blockies
            size={16}
            scale={8}
            seed="something"
        />
    );
}

Readme

Keywords

none

Package Sidebar

Install

npm i @emurgo/react-native-blockies-svg

Weekly Downloads

64

Version

0.0.4

License

MIT

Unpacked Size

4.5 kB

Total Files

6

Last publish

Collaborators

  • cryptotitan
  • twwu123
  • lisicky_emurgo
  • stackchain
  • vsubhuman