diff --git a/demo/src/screens/componentScreens/HintsScreen.tsx b/demo/src/screens/componentScreens/HintsScreen.tsx index 2b2885d13d..9795f4b264 100644 --- a/demo/src/screens/componentScreens/HintsScreen.tsx +++ b/demo/src/screens/componentScreens/HintsScreen.tsx @@ -12,6 +12,7 @@ type HintScreenProps = {}; export default class HintsScreen extends Component { state = { showHint: true, + showSecondHint: false, useShortMessage: false, showBottomHint: false, showIcon: false, @@ -28,6 +29,10 @@ export default class HintsScreen extends Component { this.setState({showHint: !this.state.showHint}); }; + toggleSecondHint = () => { + this.setState({showSecondHint: !this.state.showSecondHint}); + }; + toggleHintPosition = () => { this.setState({ showBottomHint: !this.state.showBottomHint @@ -118,6 +123,7 @@ export default class HintsScreen extends Component { render() { const { showHint, + showSecondHint, showBottomHint, showIcon, targetPosition, @@ -215,6 +221,20 @@ export default class HintsScreen extends Component { )} + + + {targetPosition !== 'flex-start' && Text pushing button} + +