Guest User

Untitled

a guest
Jun 25th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import styled from "styled-components";
  3.  
  4. export default class Modal extends Component {
  5. render() {
  6. const {children} = this.props;
  7. return (<ModalWrapper>
  8. <ModalWindow>
  9. {children}
  10. </ModalWindow>
  11. </ModalWrapper>);
  12. }
  13. }
  14. const ModalWrapper = styled.div`
  15. `;
  16. const ModalWindow = styled.div`
  17. `;
Add Comment
Please, Sign In to add comment