import React, {Component} from 'react'; import {View, Text, Button, ActionSheet} from 'react-native-ui-lib'; //eslint-disable-line import _ from 'lodash'; const useCases = [ {label: 'Default (Android/iOS)', useNativeIOS: false, icons: false}, {label: 'Default with icons', useNativeIOS: false, icons: true}, {label: 'Native IOS', useNativeIOS: true} ]; const collectionsIcon = require('../../assets/icons/collections.png'); const starIcon = require('../../assets/icons/star.png'); const shareIcon = require('../../assets/icons/share.png'); export default class ActionSheetScreen extends Component { state = { showNative: false, showCustom: false, showCustomIcons: false, pickedOption: undefined }; pickOption(index: string) { this.setState({ pickedOption: index }); } render() { const {showCustom, showCustomIcons, showNative, pickedOption} = this.state; return ( Action Sheet {_.map(useCases, (useCase, index) => { return (