This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/components/Application/Sidebar/SidebarItem.tsx
2021-10-24 05:19:39 +02:00

20 lines
356 B
TypeScript

import { memo } from 'react'
export const SidebarItem: React.FC = memo((props) => {
return (
<>
<li className='sidebar-item'>{props.children}</li>
<style jsx>
{`
.sidebar-item {
position: relative;
margin: 10px;
cursor: pointer;
}
`}
</style>
</>
)
})