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