# All files / components/Modal/styles ModalCloseIcon.js

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

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

     import { mapProps } from 'recompose';
    import Anchor from 'components/Anchor';
    import styled from 'styled-components';

    const CloseIcon = styled(Anchor)`
      position: absolute;
      top: 0;
      right: 0;
      margin: 0.95em 1em 0.95em 1.5em;
      font-size: 0.9em;
    `;

    export default mapProps(props => ({
      ...props,
      icon: 'delete2',
    }))(CloseIcon);