Files
pterodactyl-panel/resources/scripts/components/elements/dialog/context.ts
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

8 lines
210 B
TypeScript

import React from 'react';
import type { DialogContextType } from './types';
export const DialogContext = React.createContext<DialogContextType>({
setIcon: () => null,
setIconPosition: () => null,
});