import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Col, Inner, Wrapper, Subscriber, Divider } from "./footer.styled";
import TextBase from "../../text";
const Link = ({ href, blank, text, children, onClick }) => {
    return (_jsx("li", { children: _jsx("a", { href: href, target: blank ? "_blank" : "_self", onClick: onClick, children: children ?? _jsx(TextBase.F2, { as: "span", children: text }) }) }));
};
const Footer = ({ className, children, subscriber }) => {
    return (_jsxs(Wrapper, { className: className, hasSubscriber: !!subscriber, children: [subscriber, children] }));
};
export default Object.assign(Footer, {
    Inner,
    Col,
    Subscriber,
    Link,
    Divider,
});
//# sourceMappingURL=footer.js.map