import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from "react";
import { buttonUnstyled } from "./styles.js";
/**
 * A simple wrapper for a `<button type="button">` that applies the unstyled
 * utility class.
 *
 * Requires the `$disable-unstyled-utility-class` to be `false` to use.
 *
 * @see {@link https://react-md.dev/components/button-unstyled | ButtonUnstyled Demos}
 * @see {@link buttonUnstyled}
 * @since 6.0.0 Renamed from `UnstyledButton`
 */ export const ButtonUnstyled = /*#__PURE__*/ forwardRef(function ButtonUnstyled(props, ref) {
    const { children, className, ...remaining } = props;
    return /*#__PURE__*/ _jsx("button", {
        ...remaining,
        ref: ref,
        type: "button",
        className: buttonUnstyled({
            className
        }),
        children: children
    });
});

//# sourceMappingURL=ButtonUnstyled.js.map