Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1014 Bytes

File metadata and controls

36 lines (25 loc) · 1014 Bytes

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