Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react';
- import styled from "styled-components";
- export default class Modal extends Component {
- render() {
- const {children} = this.props;
- return (<ModalWrapper>
- <ModalWindow>
- {children}
- </ModalWindow>
- </ModalWrapper>);
- }
- }
- const ModalWrapper = styled.div`
- `;
- const ModalWindow = styled.div`
- `;
Add Comment
Please, Sign In to add comment