forked from Gitlink/forgeplus-react
19 lines
385 B
JavaScript
19 lines
385 B
JavaScript
import React from 'react';
|
|
import styled from 'styled-components';
|
|
|
|
const Nav = styled.div`{
|
|
background-color:#fff;
|
|
padding:20px 30px;
|
|
border-bottom:1px solid #eee;
|
|
font-size:16px;
|
|
color:#333;
|
|
display:flex;
|
|
justify-content: space-between;
|
|
align-items:center;
|
|
}`
|
|
|
|
export default (({children,className})=>{
|
|
return(
|
|
<Nav className={className}>{children}</Nav>
|
|
)
|
|
}) |