mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 02:26:21 +08:00
5 lines
141 B
TypeScript
5 lines
141 B
TypeScript
import { useContext } from 'react';
|
|
import { ThemeContext } from './themeProvider';
|
|
|
|
export const useTheme = () => useContext(ThemeContext);
|