Skip to content

krosben/react-native-gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Gravatar npm

Installing

npm install @krosben/react-native-gravatar

yarn add @krosben/react-native-gravatar

Usage

import Gravatar from '@krosben/react-native-gravatar';

const App = () => <Gravatar email="example@example.com" />;

export default App;

Properties

Prop Default Type
email none string
size 60 number
borderStyle circle "circle" | "square" | "rounded"
defaultImage retro "404" | "mm" | "identicon" | "monsterid" | "wavatar" | "retro" | "robohash" | "blank"
rating g "g" | "pg" | "r" | "x"
resizeMode contain ImageResizeMode
...rest none Omit<ImageProps, "source">

Related