Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 514 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 514 Bytes

react-native-blockies

Blocky component for React-native

Wrap Webview into a View to generate blocky using ethereum-blockies module https://github.com/ethereum/blockies/blob/master/blockies.min.js

Use

import Blockies from 'react-native-blockies';

render() {
    return (
        <Blockies
            blockies={address} //string content to generate icon
            size={32} // blocky icon size
            style={{width:32, height:32}} // style of the view will wrap the icon
        />
    );
}