import { Popover, Button } from "@geist-ui/core" import { MoreVertical } from "@geist-ui/icons" type Action = { title: string onClick: () => void } const ActionDropdown = ({ title = "Actions", actions, showTitle = false, }: { title?: string, showTitle?: boolean, actions: Action[] }) => { return ( {showTitle && {title} } {actions.map(action => ( {action.title} ))} } hideArrow > ) } export default ActionDropdown