Code Monkey home page Code Monkey logo

kolking / react-native-userpic Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 4.0 2.94 MB

๐Ÿ‘ฉ๐Ÿผ ๐Ÿง”๐Ÿปโ€โ™‚๏ธ Display user avatars in React Native like a pro with support for Gravatar, user initials, unique colors, badges, statuses, and more.

License: MIT License

JavaScript 4.95% TypeScript 65.44% Ruby 5.43% Java 16.95% Objective-C 5.45% Objective-C++ 1.78%
android avatar gravatar image ios picture react-native user userpic initials

react-native-userpic's People

Contributors

dependabot[bot] avatar kolking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

react-native-userpic's Issues

Incompatible with typescript V5

@kolking After upgrading to ts@5, I get the following issue from Badge.tsx:

Screenshot 2023-06-01 at 10 25 34

I think the statement should be:

const displayValue = typeof value === 'number' && typeof limit == "number" && value > limit ? `${limit}+` : value;

badge component

import { MaterialIcons } from "@expo/vector-icons";

<Userpic
  badge={<MaterialIcons name="verified" size={15} />}
  source={{
    uri: post.uid.user_data.avatar,
  }}
/>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.