mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
12 lines
228 B
TypeScript
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;
|