plane/apps/app/lib/hooks/useTheme.tsx
2022-11-30 02:21:17 +05:30

12 lines
228 B
TypeScript

import { useContext } from "react";
import { themeContext } from "contexts/theme.context";
const useTheme = () => {
const themeContextData = useContext(themeContext);
return themeContextData;
};
export default useTheme;