import React from 'react'; import Icon from '../Icon'; import Typography from '../Typography'; import { Container } from './styled'; import { Separator } from '../../global/otherStyled'; import data from './data'; type Props = { onClick: (state: string) => void; navbarState: string; children: React.ReactNode; displayMode: string; fileName: string; }; const Navbar: React.FC = ({ onClick, navbarState, children, displayMode, fileName, }: Props) => ( {fileName} {data.btnGroup.map((ele) => ( { onClick(ele.content); }} /> ))} {children} ); export default Navbar;