highsoft-ui 1.0.152 → 1.0.153
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.
|
@@ -4,7 +4,7 @@ import { t as n } from "../../Typography-AvvBRu-u.js";
|
|
|
4
4
|
import { t as r } from "../../styles.module-BDcr8Smc.js";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
//#region lib/components/Modal/ModalContactFooter.tsx
|
|
7
|
-
function o({ avatars: o, text: s = "Have more questions?", buttonLabel: c = "Connect with the sales team", buttonIcon: l = /* @__PURE__ */ i(e, {}), buttonHref: u, onButtonClick: d, buttonVariant: f = "transparent", buttonSize: p = 200 }) {
|
|
7
|
+
function o({ avatars: o, text: s = "Have more questions?", buttonLabel: c = "Connect with the sales team", buttonIcon: l = /* @__PURE__ */ i(e, {}), buttonHref: u, onButtonClick: d, buttonVariant: f = "transparent", buttonSize: p = 200, link: m }) {
|
|
8
8
|
return /* @__PURE__ */ a("div", {
|
|
9
9
|
className: r.contactFooter,
|
|
10
10
|
children: [
|
|
@@ -27,6 +27,7 @@ function o({ avatars: o, text: s = "Have more questions?", buttonLabel: c = "Con
|
|
|
27
27
|
size: p,
|
|
28
28
|
iconRight: l,
|
|
29
29
|
href: u,
|
|
30
|
+
as: m,
|
|
30
31
|
onClick: d,
|
|
31
32
|
children: c
|
|
32
33
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { ButtonVariant, ButtonSize } from '../Button';
|
|
3
3
|
export interface ModalContactFooterProps {
|
|
4
4
|
/** Image URLs shown as a stacked row of round avatars on the left */
|
|
@@ -17,5 +17,6 @@ export interface ModalContactFooterProps {
|
|
|
17
17
|
buttonVariant?: ButtonVariant;
|
|
18
18
|
/** CTA button size */
|
|
19
19
|
buttonSize?: ButtonSize;
|
|
20
|
+
link?: ElementType;
|
|
20
21
|
}
|
|
21
|
-
export declare function ModalContactFooter({ avatars, text, buttonLabel, buttonIcon, buttonHref, onButtonClick, buttonVariant, buttonSize }: ModalContactFooterProps): import("react").JSX.Element;
|
|
22
|
+
export declare function ModalContactFooter({ avatars, text, buttonLabel, buttonIcon, buttonHref, onButtonClick, buttonVariant, buttonSize, link: Link }: ModalContactFooterProps): import("react").JSX.Element;
|