# All files / components/Alert/styles AlertCloseButton.js

0% Statements 0/12
0% Branches 0/4
0% Functions 0/1
0% Lines 0/7

    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

     import styled from 'styled-components';
    import Anchor from 'components/Anchor';
    import AlertContent from './AlertContent';

    const CloseButton = styled(Anchor)`
      color: inherit;
      ${AlertContent} > &, ${AlertContent.Small} > & {
        margin-top: 6px;
        margin-bottom: auto;
      }
    `;

    CloseButton.Negative = styled(Anchor.Negative)`
      color: inherit;
      ${AlertContent} > &, ${AlertContent.Small} > & {
        margin-top: 6px;
        margin-bottom: auto;
      }
    `;

    CloseButton.Positive = styled(Anchor.Positive)`
      color: inherit;
      ${AlertContent} > &, ${AlertContent.Small} > & {
        margin-top: 6px;
        margin-bottom: auto;
      }
    `;

    export default CloseButton;