UNPKG

@vandrei977/react-native-render-html

Version:

The hackable, full-featured Open Source HTML rendering solution for React Native.

7 lines (4 loc) 189 B
import React from 'react'; import { Dimensions } from 'react-native'; const contentWidthContext = React.createContext(Dimensions.get('window').width); export default contentWidthContext;