Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul className="sub-menu" key={key}>
- { object.childs.map((child, id) => {
- <li className="nav-item" key={id}>
- <a href={child.href} className="nav-link ">
- <span className="title">child.value</span>
- </a>
- </li>
- })
- }
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement