File size: 976 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
import React from 'react';
import { Container, Row, Column, Link, Title, Text, Break } from '../footer/styles/footer';
export default function Footer({ children, ...restProps }) {
return <Container { ...restProps}>{children}</Container>;
}
Footer.Row = function FooterRow({ children, ...restProps }) {
return <Row { ...restProps}>{children}</Row>;
};
Footer.Column = function FooterColumn({ children, ...restProps }) {
return <Column { ...restProps}>{children}</Column>;
};
Footer.Link = function FooterLink({ children, ...restProps }) {
return <Link { ...restProps}>{children}</Link>;
};
Footer.Title = function FooterTitle({ children, ...restProps }) {
return <Title { ...restProps}>{children}</Title>;
};
Footer.Text = function FooterText({ children, ...restProps }) {
return <Text { ...restProps}>{children}</Text>;
};
Footer.Break = function FooterBreak({ children, ...restProps }) {
return <Break { ...restProps}>{children}</Break>;
}; |