7 lines
214 B
JavaScript
7 lines
214 B
JavaScript
|
import * as React from 'react';
|
||
|
import ThemeContext from './ThemeContext';
|
||
|
export default function useTheme() {
|
||
|
const theme = React.useContext(ThemeContext);
|
||
|
return theme;
|
||
|
}
|
||
|
//# sourceMappingURL=useTheme.js.map
|