# All files / components/Table/styles TableRow.js

50% Statements 1/2
0% Branches 0/2
0% Functions 0/1
50% Lines 1/2

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16

    4x

     import React from 'react';
    import styled from 'styled-components';
    import get from 'extensions/themeGet';

    const TableRow = styled.tr`
      border-top: ${get('thicknesses.normal')} solid ${get('colors.shadow.light')};

      &:first-of-type {
        border-top: none;
      }

      ${({ onClick }) => (!!onClick ? 'cursor: pointer;' : '')};
    `;

    export default TableRow;