import React from 'react'; import styled, { css, useTheme } from 'styled-components'; import { MenuIconProps } from './props'; const StyledSvg = styled.svg` display: flex; align-items: center; justify-content: center; `; const StyledPath = styled.path` transition: 0.3s; `; const MiddlePath = styled.path<{ isActive: boolean }>` ${({ isActive }) => isActive ? css` opacity: 0; ` : css` opacity: 1; `} transition: 0.3s; `; const MenuIcon = ({ isMenuOpen }: MenuIconProps) => { const theme = useTheme(); return ( ); }; export default MenuIcon;