Files
pterodactyl-panel/resources/scripts/components/elements/dialog/context.ts
T

8 lines
210 B
TypeScript
Raw Normal View History

import React from 'react';
2026-10-05 18:10:18 -04:00
import type { DialogContextType } from './types';
2022-07-02 18:27:22 -04:00
2022-07-03 13:29:23 -04:00
export const DialogContext = React.createContext<DialogContextType>({
2022-07-02 18:27:22 -04:00
setIcon: () => null,
setIconPosition: () => null,
});