# All files / components/SidebarList ShowMore.js

37.5% Statements 3/8
100% Branches 0/0
0% Functions 0/5
37.5% Lines 3/8

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30

    5x

    5x

    5x

     import PropTypes from 'prop-types';
    import styled from 'styled-components';

    const ShowMore = styled.div`
      background: ${({ theme }) => theme.colors.primaryLight};
      color: ${({ theme }) => theme.colors.primaryText};
      padding: ${({ theme }) => `${theme.padding.medium} ${theme.padding.large}`};
      border-bottom: 1px solid ${({ theme }) => theme.colors.borderLight};
      border-right: 1px solid ${({ theme }) => theme.colors.borderLight};
      cursor: pointer;
    `;

    ShowMore.propTypes = {
      /**
       * Adds a class name to the element.
       */
      className: PropTypes.string,
      /**
       * Adds an id to the element.
       */
      id: PropTypes.string,
    };

    ShowMore.defaultProps = {
      className: null,
      id: null,
    };

    export default ShowMore;