import React from "react"; import defaultTradeTrustLogo from "../../../static/images/tradetrust_logo.svg"; import { Bottom, Category, mapper } from "./helpers"; import { FooterColumnProps, FooterProps } from "./types"; const sharedColumnPadding = `px-2 lg:px-6 xl:px-8`; const Logo = ( props: Pick ): React.ReactElement => { const { title, logoUrl } = props; return (
{title ? (

{title}

) : ( TradeTrust Logo )}
); }; const FooterColumn = (props: FooterColumnProps): React.ReactElement => { const { category, items } = props; return (
{items.map(mapper)}
); }; export const Footer = (props: FooterProps): React.ReactElement => { const { className = "", title = "", logoUrl = "", data, legalData } = props; return ( ); };