You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spa_instat_tv/src/features/Burger/index.tsx

26 lines
348 B

import React from 'react'
import {
RowOne,
RowTwo,
RowThree,
StyledBurger,
} from './styled'
type Props = {
isOpen: boolean,
toggle: () => void,
}
export const Burger = (
{ isOpen, toggle }: Props,
) => (
<StyledBurger
open={isOpen}
onClick={toggle}
>
<RowOne />
<RowTwo />
<RowThree />
</StyledBurger>
)