vn-verdnaturachat/app/utils/openLink/index.ios.js

8 lines
226 B
JavaScript
Raw Normal View History

2018-02-14 15:48:21 +00:00
import SafariView from 'react-native-safari-view';
import { HEADER_BACK } from '../../constants/colors';
const openLink = url => SafariView.show({ url, fromBottom: false, tintColor: HEADER_BACK });
export default openLink;