Menu mobile container updated
This commit is contained in:
1 parent
bf1c9c20ed
commit
d2f9a39d33
1 file changed
+19
-14
@@ -103,20 +103,25 @@ export const Menu: React.FC<IMenuProps> = props => {
|
|||||||
opacity={1}
|
opacity={1}
|
||||||
onClickOverlay={onClick}
|
onClickOverlay={onClick}
|
||||||
>
|
>
|
||||||
{props.items.map((item, index) => (
|
<div style={{
|
||||||
<li key={index}
|
width: '50%',
|
||||||
className={cx(
|
margin: '50px auto',
|
||||||
item.color, {
|
}}>
|
||||||
selected: item.highlighted,
|
{props.items.map((item, index) => (
|
||||||
})}
|
<li key={index}
|
||||||
>
|
className={cx(
|
||||||
<MenuItem
|
item.color, {
|
||||||
url={itemUrl(item.url)}
|
selected: item.highlighted,
|
||||||
text={item.text}
|
})}
|
||||||
active={item.active}
|
>
|
||||||
/>
|
<MenuItem
|
||||||
</li>
|
url={itemUrl(item.url)}
|
||||||
))}
|
text={item.text}
|
||||||
|
active={item.active}
|
||||||
|
/>
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
</Overlay>
|
</Overlay>
|
||||||
)}
|
)}
|
||||||
</menu>
|
</menu>
|
||||||
|
|||||||
Reference in new issue
Block a user