-
-
-
- }
- >
-
-
-
-
- {config.title
- ? intl.formatMessage({ id: config.title })
- : intl.formatMessage({ id: 'common.title.delete.confirm' })}
-
-
-
-
- {config.checkConfig && (
-
-
- setConfiguration({
- checked: e.target.checked
- })
- }
- >
-
- {intl.formatMessage({ id: config.checkConfig?.checkText })}
-
-
-
- )}
-
- );
- };
- return {
- DeleteModal,
+ useImperativeHandle(ref, () => ({
show,
hide,
configuration
- };
-}
+ }));
+
+ return (
+