tab-icon

    1.0.10 • Public • Published

    Tab-Icon

    Purpose & Description:

    • Creating this package for testing NPM publish and consuming.
    • Tab-Icon is a react native component, works to consume the react-native-vector-icons
    • It returns Icons from react-native-vector-icons
    • It only works when setting 'lib', 'name', 'title' otherwise, expect a break. Sorry about this.

    ToDo:

    • Errors should be handled.
    • Code Refactoring needs to be done.
    • Required props enforcement.
    • Need to test to confirm the stability.

    This package consumes the following properties:

    name            - Icon name                                     ; Samples : tractor, google-circles-communities, crop-landscape, more-horizontal
    title           - Title of the Tab icon 
    iconSize        - Size of the Icon
    focused         - Using this property colors can be applied 
    focusedColor    - Applied when focused==True                    ; default : 'rgb(184,15,43)'
    normalColor     - Applied when focused!=True                    ; default : 'black'
    lib             - Lib names to import                           ; FontAwesome, FontAwesome5, MaterialIcons, MaterialCommunityIcons,Feather
    

    For filling values in 'name' and 'lib' property values, please refer the below url :

    https://oblador.github.io/react-native-vector-icons/

    The 'lib' currently supporting are, FontAwesome, FontAwesome5, MaterialIcons, MaterialCommunityIcons,Feather.

    ===== Thanks to contributors =====

    Install

    npm i tab-icon

    DownloadsWeekly Downloads

    1

    Version

    1.0.10

    License

    MIT

    Unpacked Size

    3.89 kB

    Total Files

    4

    Last publish

    Collaborators

    • senthiltd