react-native-action-sheet-xg

0.0.1 • Public • Published

react-native-action-sheet

ActionSheet component for React Native Application (ios / android)

Examples

actionSheet image

Usage

install from npm

npm install --save react-native-action-sheet-xg

import in project

import ActionSheet from 'react-native-action-sheet-xg';

Properties

Prop Default Type Description
title - string the title of the action sheet
message - `string the message of the title
options - 'array' the item of the action sheet
cancelButtonIndex - 'number' the index of the cancel button of the options
destructiveButtonIndex - 'number' the index of the destructiove button of the options
ref - 'string' the ref name of the component
callback - 'function' the callback of the chose

LICENSE MIT

Package Sidebar

Install

npm i react-native-action-sheet-xg

Weekly Downloads

72

Version

0.0.1

License

MIT

Last publish

Collaborators

  • lulutia