@violetprotocol/nudge-components
Version:
Components for Nudge's websites and applications.
27 lines (26 loc) • 866 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { ScoreAppFooter } from "./ScoreAppFooter";
const meta = {
component: ScoreAppFooter,
};
export default meta;
export const Primary = {
render: (args) => _jsx(ScoreAppFooter, { ...args }),
args: {
links: [
{ title: "Work with us", href: "/join-us" },
{ title: "Privacy Notice", href: "/privacy-policy" },
{ title: "Terms of Use", href: "/terms" },
{ title: "Legal", href: "/legal" },
],
LinkComponent: ({ href, children }) => (_jsx("a", { href: href, children: children })),
ImageComponent: (props) => _jsx("img", { ...props }),
onCtaClick: () => console.log("CTA clicked"),
className: "px-10 md:px-40",
},
parameters: {
themes: {
themeOverride: "dark",
},
},
};