Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 614 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 614 Bytes

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"
        />
    );
}