JSPM

react-native-tydligval

1.0.6
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 7
    • Score
      100M100P100Q37339F
    • License MIT

    A react native picker library

    Package Exports

    • react-native-tydligval

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-tydligval) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    react-native-tydligval

    Another React Native picker library with blurry background

    usage

    On your project root:

    yarn add react-native-tydligval

    properties - must

    • source {String} The source of the background image which is either local or remote (https)
    • key {String} React element key
    • onSelect {Function} Callback that receives the selected and calls your custom callback
    • items {Array} The list of items to iterate over and render

    properties - optional (otherwise falling back to the defaults)

    • color {String) Color for default controls
    • triggerButton (Function) Callback that receives items onPress selected and should return your custom trigger {ReactElement}
    • selectButton (Function) Callback that receives item onSelect and should return your custom select button which is the list item itself {ReactElement}
    • closeButton (Function) Callback that receives onClose and should return your custom close button and also call the onClose() event {ReactElement}

    This repo

    https://github.com/joshycube/react-native-tydligval.git

    React Native example app

    https://github.com/joshycube/react-native-tydligval-example-app

    screenshots

    iphone example 1 iphone example 2 android example 1 android example 2