forked from github/plane
10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
|
import { useContext } from "react";
|
||
|
import { themeContext } from "contexts/theme.context";
|
||
|
|
||
|
const useTheme = () => {
|
||
|
const themeContextData = useContext(themeContext);
|
||
|
return themeContextData;
|
||
|
};
|
||
|
|
||
|
export default useTheme;
|