Skip to content

nguyenvanquan7826/react-native-avatar-hexagon

Repository files navigation

react-native-avatar-hexagon

not desription

Installation

yarn add react-native-avatar-hexagon
cd ios && pod install

Usage

import React from 'react';
import {SafeAreaView, Text} from 'react-native';

import AvatarHexagon from 'react-native-avatar-hexagon';

export default function () {
    console.log(AvatarHexagon);
    return <SafeAreaView style={{flex: 1, justifyContent: 'center'}}>
        <AvatarHexagon style={{width: 300, height: 300}}
                       imgUrl={'https://avatars0.githubusercontent.com/u/3259822?s=460&u=33640aef0a3f16ec53b1c460230dfea716c0b24f&v=4'}
                       maskUrl={'https://i.imgur.com/FuMhbzm.png'}
        />
        <Text style={{textAlign: 'center'}}>
            Hello a Quan
        </Text>
    </SafeAreaView>;
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published