UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

29 lines (26 loc) 844 B
import * as React from "react"; import styled from "styled-components"; import defaultTheme from "../../defaultTheme"; export const StyledTableFooter = styled(({ children, className, dataTest }) => /*#__PURE__*/React.createElement("tfoot", { className: className, "data-test": dataTest }, children)).withConfig({ displayName: "TableFooter__StyledTableFooter", componentId: "sc-1h89mlu-0" })(["width:100%;white-space:nowrap;background:", ";font-weight:bold;"], ({ theme }) => theme.orbit.paletteCloudDark); // $FlowFixMe: https://github.com/flow-typed/flow-typed/issues/3653#issuecomment-568539198 StyledTableFooter.defaultProps = { theme: defaultTheme }; const TableFooter = ({ children, dataTest }) => /*#__PURE__*/React.createElement(StyledTableFooter, { dataTest: dataTest }, children); export default TableFooter;