import React from 'react'; import classNames from 'classnames'; import styles from './Menu.module.css'; export default function Menu({ options = [], className, align = 'left', onSelect = () => {} }) { return (
{options.map(({ label, value, className: optionClassName }) => (
onSelect(value, e)} > {label}
))}
); }