@ctlyst.id/internal-ui 5.3.4 → 5.4.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -769,6 +769,7 @@ interface CustomToastOptions extends Omit<ToastOptions, 'icon'> {
769
769
  link?: {
770
770
  url: string;
771
771
  label: string;
772
+ as?: As;
772
773
  };
773
774
  }
774
775
  declare const useToast: () => {
package/dist/index.d.ts CHANGED
@@ -769,6 +769,7 @@ interface CustomToastOptions extends Omit<ToastOptions, 'icon'> {
769
769
  link?: {
770
770
  url: string;
771
771
  label: string;
772
+ as?: As;
772
773
  };
773
774
  }
774
775
  declare const useToast: () => {
package/dist/index.js CHANGED
@@ -5946,6 +5946,7 @@ var useToast = () => {
5946
5946
  link && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5947
5947
  import_react92.Link,
5948
5948
  {
5949
+ as: link.as,
5949
5950
  href: link.url,
5950
5951
  textDecoration: "underline",
5951
5952
  minW: "max-content",