import React, { FC } from 'react'; import styled from '@emotion/styled'; import { SidebarSection } from './SidebarSection'; import { applyStyledScroll } from '../../libs/styled/scroll'; type SidebarProps = { items: any; activeId: string; }; export const Sidebar: FC = (props) => { const { items, activeId } = props; return ( {items.map((item) => ( ))} ); }; const Container = styled.div` ${applyStyledScroll({ width: '6px' })} overflow-y: scroll; grid-area: sidebar; box-sizing: border-box; padding: 12px 24px; border-right: 1px solid rgba(0, 0, 0, 0.1); `;