@contentstudio/ui 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -961,6 +961,11 @@ declare interface ModalOptions {
961
961
  showDividers?: boolean;
962
962
  radius?: string;
963
963
  busy?: boolean;
964
+ onConfirm?: () => Promise<unknown> | unknown;
965
+ onConfirmSuccess?: (result: unknown) => void;
966
+ onConfirmError?: (error: unknown) => void;
967
+ closeOnConfirmSuccess?: boolean;
968
+ closeOnConfirmError?: boolean;
964
969
  }
965
970
 
966
971
  export declare interface ModalPlugin {