A dmenu like navbar component written in React.
Made with create-react-library
import React, { Component } from 'react'
import DMenu from 'dmenu-react'
import 'dmenu-react/dist/index.css'
const menuElement = [{
name: "home",
url: "/"
},
{
name: "blog",
url: "/blog"
}]
class Example extends Component {
render() {
return <DMenu menu={menuElement} active={0} />
}
}
MIT © lucarin91