7 lines
163 B
JavaScript
7 lines
163 B
JavaScript
|
import { useContext } from "react";
|
||
|
import { ThemeContext } from "../contexts/Themes";
|
||
|
|
||
|
const useTheme = () => useContext(ThemeContext);
|
||
|
|
||
|
export default useTheme;
|