@windrun-huaiin/third-ui 5.4.1 → 5.6.0

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.
@@ -1,4 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React from 'react';
2
3
 
3
4
  declare function Gallery(): react_jsx_runtime.JSX.Element;
4
5
 
@@ -40,4 +41,18 @@ interface PricePlanAppConfig {
40
41
  }
41
42
  declare function PricePlan({ currency, pricePlanConfig }: PricePlanProps): react_jsx_runtime.JSX.Element;
42
43
 
43
- export { type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage };
44
+ interface AdsAlertDialogProps {
45
+ open: boolean;
46
+ onOpenChange: (open: boolean) => void;
47
+ title: React.ReactNode;
48
+ description: React.ReactNode;
49
+ imgSrc?: string;
50
+ imgHref?: string;
51
+ onCancel?: () => void;
52
+ cancelText?: string;
53
+ confirmText?: string;
54
+ onConfirm?: () => void;
55
+ }
56
+ declare function AdsAlertDialog({ open, onOpenChange, title, description, imgSrc, imgHref, cancelText, onCancel, confirmText, onConfirm, }: AdsAlertDialogProps): react_jsx_runtime.JSX.Element;
57
+
58
+ export { AdsAlertDialog, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage };
@@ -1,4 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React from 'react';
2
3
 
3
4
  declare function Gallery(): react_jsx_runtime.JSX.Element;
4
5
 
@@ -40,4 +41,18 @@ interface PricePlanAppConfig {
40
41
  }
41
42
  declare function PricePlan({ currency, pricePlanConfig }: PricePlanProps): react_jsx_runtime.JSX.Element;
42
43
 
43
- export { type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage };
44
+ interface AdsAlertDialogProps {
45
+ open: boolean;
46
+ onOpenChange: (open: boolean) => void;
47
+ title: React.ReactNode;
48
+ description: React.ReactNode;
49
+ imgSrc?: string;
50
+ imgHref?: string;
51
+ onCancel?: () => void;
52
+ cancelText?: string;
53
+ confirmText?: string;
54
+ onConfirm?: () => void;
55
+ }
56
+ declare function AdsAlertDialog({ open, onOpenChange, title, description, imgSrc, imgHref, cancelText, onCancel, confirmText, onConfirm, }: AdsAlertDialogProps): react_jsx_runtime.JSX.Element;
57
+
58
+ export { AdsAlertDialog, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage };