New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-icon-picker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-icon-picker

React native icon picker, contain vector icon

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

React native icon picker (Only For Expo )

A cross platform react native icon picker component for android and ios. It includes vector icon and it is easily customizable. Its includes

  • AntDesign
  • Entypo
  • FontAwesome
  • FontAwesome5
  • Fontisto
  • Ionicons
  • MaterialCommunityIcons
  • MaterialIcons

we are working for native version. we update you soon...

Example ClickMe

Above link contain working example of icon picker

Installation

npm install react-native-icon-picker

Usage

Step 1

npm install react-native-icon-picker

Step 2

import IconPicker from "react-native-icon-picker";

Step 3

<IconPicker
    showIconPicker={this.state.showIconPicker}
    toggleIconPicker={() => this.setState({ showIconPicker: !this.state.showIconPicker })}
    iconDetails={[
        { family: "AntDesign", color: "blue", icons: ["wallet"] },
        { family: "Entypo", icons: ["wallet"] },
        { family: "FontAwesome", icons: ["google-wallet"] },
        { family: "FontAwesome5", icons: ["wallet"] },
        { family: "Fontisto", icons: ["wallet"] },
        {
            family: "MaterialCommunityIcons",
            icons: ["wallet-membership"]
        },
        { family: "MaterialIcons", icons: ["wallet-travel"] }
        ]
    }
    onSelect={(icon) => console.log(icon)}
    content={<MaterialIcons name="category" size={32} />}
/>

Available Props

NameTypeDefaultDescription
headerTitleStringSelect IconHeader Title
showIconPickerboolfalseshow the icon picker
onSelectfunctionREQUIREDCalled when the icon is selected
toggleIconPickerfunctionREQUIREDCalled when the user taps the close button
iconDetailsArrayREQUIREDIcon Details
selectedIconobect{}passes the selected icon object
selectedIconContainerStyleobect{}style applied on selected icon container
contentanyOpen IconpickerIcon picker Content

Icon List ClickMe

Above link contain all the icon list

License

MIT

Author

Kawal Jain

Keywords

react-native

FAQs

Package last updated on 05 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts