Open
Description
I have a problem with ActionSheetManager
when usage like this:
import React, { Component } from 'react';
import { Button } from 'react-native';
import ActionSheetManager, { ActionSheet, ActionSheetItem } from 'react-native-action-sheet-component';
export default class App extends Component {
render() {
const options = {
children: [
<ActionSheetItem
key='item-1'
text="Item 1"
value="item1"
/>,
<ActionSheetItem
key='item-2'
text="Item 2"
value="item2"
/>
],
};
return (
<Button onPress={() => ActionSheetManager.show(options)} title="Open" />
);
}
}