Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const MenuButton: FC = ({
className,
visible,
children,
forwardedRef,
dropdownIcon: propDropdownIcon,
disableDropdownIcon,
first,
last,
inheritColor,
asAppBarAction,
...props
}) => {
const { buttonType } = props;
const dropdownIcon = useIcon("dropdown", propDropdownIcon);
const actionClassName = useActionClassName({ first, last, inheritColor });
return (
<button aria-expanded="{visible">
</button>