Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.85 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.85 KB

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