plane/apps/app/hooks/use-theme.tsx

10 lines
226 B
TypeScript
Raw Normal View History

2022-11-19 14:21:26 +00:00
import { useContext } from "react";
import { themeContext } from "contexts/theme.context";
const useTheme = () => {
const themeContextData = useContext(themeContext);
return themeContextData;
};
export default useTheme;