verdnatura-chat/app/utils/openLink/index.ios.js

8 lines
226 B
JavaScript

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;