mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Allow passing props through to determine modal options
This commit is contained in:
@@ -32,7 +32,7 @@ const ApiKeyModal = ({ apiKey }: Props) => {
|
||||
|
||||
ApiKeyModal.displayName = 'ApiKeyModal';
|
||||
|
||||
export default asModal({
|
||||
export default asModal<Props>({
|
||||
closeOnEscape: false,
|
||||
closeOnBackground: false,
|
||||
})(ApiKeyModal);
|
||||
|
||||
Reference in New Issue
Block a user