import React from 'react'; import { withTheme } from 'styled-components'; import remcalc from 'remcalc'; import is from 'styled-is'; import BaseAnchor from '../anchor'; import { Tfoot, Tr, Th } from '../table'; import { Arrow as BaseArrow } from '../icons'; const Arrow = BaseArrow.extend` margin: ${remcalc(2)} ${remcalc(6)}; `; const Anchor = BaseAnchor.extend` margin-left: ${remcalc(6)}; margin-right: ${remcalc(6)}; text-decoration: underline; ${is('disabled')` text-decoration: none; `}; ${is('active')` text-decoration: none; `}; ${is('active')` padding: ${remcalc(6)}; background-color: ${props => props.theme.primary}; border: ${remcalc(1)} solid ${props => props.theme.primaryActive}; border-radius: ${remcalc(4)}; color: ${props => props.theme.white}; `}; `; export const TableFoot = ({ children, colSpan, ...rest }) => (