import { jsx } from "react/jsx-runtime";
import { IconButton } from "@mui/material";
import react from "react";
const ApIconButton = /*#__PURE__*/ react.forwardRef((props, ref)=>{
    const { color = 'primary', size = 'medium', disabled, label, expanded, ...rest } = props;
    return /*#__PURE__*/ jsx(IconButton, {
        ref: ref,
        color: color,
        size: size,
        disabled: disabled,
        "aria-expanded": expanded,
        "aria-label": label ?? 'Icon button',
        ...rest,
        children: props.children
    });
});
ApIconButton.displayName = 'ApIconButton';
export { ApIconButton };
