mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-23 05:54:09 +02:00
add supporer key program
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { createContext } from "react";
|
||||
|
||||
export type SupporterStatus = {
|
||||
visible: boolean;
|
||||
};
|
||||
|
||||
type SupporterStatusContextType = {
|
||||
supporterStatus: SupporterStatus | null;
|
||||
updateSupporterStatus: (updatedSite: Partial<SupporterStatus>) => void;
|
||||
};
|
||||
|
||||
const SupporterStatusContext = createContext<
|
||||
SupporterStatusContextType | undefined
|
||||
>(undefined);
|
||||
|
||||
export default SupporterStatusContext;
|
||||
Reference in New Issue
Block a user