mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-13 15:53:18 +02:00
[enhancement]: support serach on settings page
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { createContext, useContext } from 'react';
|
||||
|
||||
export const SettingSearchContext = createContext<string>('');
|
||||
|
||||
export const useSettingSearchContext = () => {
|
||||
const ctxValue = useContext(SettingSearchContext);
|
||||
return ctxValue;
|
||||
};
|
||||
Reference in New Issue
Block a user