18 lines
426 B
JavaScript
18 lines
426 B
JavaScript
import { observer } from "mobx-react";
|
|
import React from "react";
|
|
import styled from "styled-components";
|
|
|
|
const Notifications = ({ children }) => {
|
|
const StyledNotifications = styled.div`
|
|
height: 100%;
|
|
width: 400px;
|
|
background-color: red;
|
|
`;
|
|
|
|
console.log("N - ", children);
|
|
|
|
return <StyledNotifications>{children}1213</StyledNotifications>;
|
|
};
|
|
|
|
export default observer(Notifications);
|