# All files / components/Tabs/styles TabContent.js

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22

    4x

     import styled from 'styled-components';
    import get from 'extensions/themeGet';
    import TabContainer from './TabContainer';

    const TabContent = styled.div`
      padding: ${get('spacing.medium')};

      border-width: ${get('thicknesses.normal')};
      border-style: solid;
      border-color: ${get('colors.border.medium')};

      ${TabContainer} > & {
        flex: 0 0 auto;
      }

      ${TabContainer.Vertical} > & {
        flex: 1;
      }
    `;

    export default TabContent;