@react95/core
Version:
Windows 95 styleguide
21 lines (20 loc) • 424 B
JavaScript
import React from "react";
import cn from "classnames";
import { button } from "./Button.css.mjs";
import { fixedForwardRef, Frame } from "../Frame/Frame.mjs";
const Button = fixedForwardRef(
(props, ref) => {
return /* @__PURE__ */ React.createElement(
Frame,
{
as: "button",
...props,
className: cn(button, props.className),
ref
}
);
}
);
export {
Button
};