@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.
25 lines (23 loc) • 792 B
JavaScript
import * as React from "react";
import styled from "styled-components";
import defaultTokens from "../../defaultTokens";
export const StyledTableBody = styled(({
children,
className
}) => React.createElement("tbody", {
className: className
}, children)).withConfig({
displayName: "TableBody__StyledTableBody",
componentId: "sc-1uovf8k-0"
})(["width:100%;white-space:nowrap;border-left:1px solid ", ";border-right:1px solid ", ";border-bottom:1px solid ", ";"], ({
theme
}) => theme.orbit.paletteCloudNormal, ({
theme
}) => theme.orbit.paletteCloudNormal, ({
theme
}) => theme.orbit.paletteCloudNormal);
StyledTableBody.defaultProps = {
theme: defaultTokens
};
const TableBody = props => React.createElement(StyledTableBody, null, props.children);
export default TableBody;