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

0% Statements 0/12
0% Branches 0/6
0% Functions 0/2
0% Lines 0/5

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

     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;