用于gravatar-api的react-native包装器

时间:2021-06-08 16:25:45
【文件属性】:
文件名称:用于gravatar-api的react-native包装器
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-08 16:25:45
React Native Awesome Components react-native-gravatar 安装 npm install --save react-native-gravatar 使用例如。 import React, { Component } from 'react'; 从'react-native'导入{StyleSheet}; 从“react-native-gravatar”导入 {Gravatar, GravatarApi}; 类 MyComponent 扩展组件 { render() { return ( ) } } var styles = StyleSheet.create({ roundedProfileImage: { width:100, height:100, borderWidth:3, borderColor:'white', borderRadius:50 } }) 为了更好地了解可以传递哪些选项,请查看 gravatar-api 欢迎注意拉取请求
【文件预览】:
react-native-gravatar-master
----.gitignore(2KB)
----README.md(905B)
----LICENSE(1KB)
----package.json(825B)
----index.js(443B)

网友评论