This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Copyright (c) 2017-Present, Punchh, Inc. | |
| * All rights reserved. | |
| * | |
| * Snippet only — apply inside LocationBar.renderHOO SegmentedControl JSX. | |
| * Repo: punchh/olo-framework-reactnative | |
| */ | |
| <SegmentedControl | |
| onTabPress={this.updateIndex} | |
| values={segmentContent} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright © 2017-Present, Punchh, Inc. | |
| // All rights reserved. | |
| // | |
| 'use strict'; | |
| import React from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import { View, Animated } from 'react-native'; | |
| import { SectionHeader, BaseComponent } from 'react-native-punchh-components'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.annotation.TargetApi; | |
| import android.app.AlertDialog; | |
| import android.content.Context; | |
| import android.content.DialogInterface; | |
| import android.content.res.Resources; | |
| import android.graphics.Canvas; | |
| import android.media.AudioManager; | |
| import android.media.MediaFormat; | |
| import android.media.MediaPlayer; | |
| import android.net.Uri; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |