import _ from 'lodash'; import React, {Component} from 'react'; import {Alert, ViewStyle} from 'react-native'; import {Colors, View, Text, Hint, Button, Assets, Incubator, Constants} from 'react-native-ui-lib'; import {renderMultipleSegmentOptions, renderBooleanOption} from '../ExampleScreenPresenter'; const settingsIcon = require('../../assets/icons/settings.png'); const reactions = ['❤️', '😮', '😔', '😂', '😡']; type HintScreenProps = {}; const SHORT_MESSAGE = 'Add other cool and useful stuff.'; const DEFAULT_MESSAGE = 'Add other cool and useful stuff through adding apps to your visitors to enjoy.'; const TARGET_FRAMES_MESSAGE = 'Press Back button to go to previous screen'; export default class HintsScreen extends Component { state = { showHint: true, showSecondHint: false, useShortMessage: false, showBottomHint: false, showIcon: false, targetPosition: 'flex-start' as ViewStyle['alignSelf'], useBackdrop: true, useTargetFrame: false, useSideTip: false, showCustomContent: false, showReactionStrip: false, enableShadow: false }; toggleHint = () => { this.setState({showHint: !this.state.showHint}); }; toggleSecondHint = () => { this.setState({showSecondHint: !this.state.showSecondHint}); }; toggleHintPosition = () => { this.setState({ showBottomHint: !this.state.showBottomHint }); }; onHintPressed = () => { Alert.alert('Hint Pressed'); }; onReactionPress = () => { Alert.alert('Reaction button pressed'); }; renderCustomContent() { return ( Click Alert.alert('custom content :)')} text70BO red40> {' here '} for more information ); } renderReactionStrip() { return ( {_.map(reactions, (item, index) => (