feat: add context menu for list items (#27)

This commit is contained in:
thecodrr
2020-03-01 20:03:37 +05:00
parent 29a2b9e2f2
commit aa8f499a2c
4 changed files with 136 additions and 10 deletions

View File

@@ -5,13 +5,16 @@ import Dropdown from "../dropdown";
function Menu(props) {
return (
<Flex
id={props.id}
bg="background"
py={1}
style={props.style}
sx={{
position: "relative",
borderRadius: "default",
boxShadow: 2,
width: 120
width: 120,
...props.sx
}}
>
<Box width="100%">