# All files / components/Cards CardSection.js

0% Statements 0/8
0% Branches 0/4
0% Functions 0/1
0% Lines 0/4

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

     import styled from 'styled-components';
    import themeGet from 'extensions/themeGet';

    const CardSection = styled.div`
      padding: ${themeGet('spacing.medium')};
      &:not(:last-of-type) {
        border-bottom-color: ${themeGet('colors.border.medium')};
        border-bottom-width: ${themeGet('thicknesses.normal')};
        border-bottom-style: solid;
      }

      & > * {
        margin: 0;
      }
    `;

    /**
     * @component
     */
    export default CardSection;