@kiwicom/orbit-components
Version:
<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"
18 lines (13 loc) • 412 B
JavaScript
// @flow
import * as React from "react";
import styled from "styled-components";
import type { Props } from "./";
export const StyledTableRow = styled(({ children, className }) => (
<tr className={className}>{children}</tr>
))`
box-sizing: border-box;
width: 100%;
white-space: nowrap;
`;
const TableRow = (props: Props) => <StyledTableRow>{props.children}</StyledTableRow>;
export default TableRow;