GT2/Ejectable/node_modules/@react-navigation/native/lib/module/theming/useTheme.js

7 lines
214 B
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
import * as React from 'react';
import ThemeContext from './ThemeContext';
export default function useTheme() {
const theme = React.useContext(ThemeContext);
return theme;
}
//# sourceMappingURL=useTheme.js.map