mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 21:35:47 -05:00
14 lines
333 B
TypeScript
14 lines
333 B
TypeScript
import React from 'react';
|
|
|
|
interface DialogContextType {
|
|
icon: React.RefObject<HTMLDivElement | undefined>;
|
|
buttons: React.RefObject<HTMLDivElement | undefined>;
|
|
}
|
|
|
|
const DialogContext = React.createContext<DialogContextType>({
|
|
icon: React.createRef(),
|
|
buttons: React.createRef(),
|
|
});
|
|
|
|
export default DialogContext;
|