Introduction
This module extends React Js
React component that mounts three dot button that morphs into a menu by clicking on it.
Never ever worry about a fancy dropdown menu. This component does it for you!
Installation
npm install --save react-animated-menus
Usage
import Menu from 'react-animated-menus'
Component usage:
const food = {
a: {
value: "Button1",
action: () => {
alert("test1")
}
},
b: {
value: "Button2",
action: () => {
alert("test2")
}
},
c: {
value: "Button3",
action: () => {
alert("test3")
}
}
}
<Menu width={"20px"} color="rgb(123, 192, 222)" food={food} />
<Menu height={"50px"}" food={food} />
Contact
Github: https://github.com/aleabodo
Wesite: https://alexbell.ninja
Email: mail@alexbell.de