UNPKG

@react95/core

Version:
18 lines (17 loc) 478 B
import React, { forwardRef } from "react"; import { windowsButton, icon } from "./TaskBar.css.mjs"; const WindowButton = forwardRef( ({ children, small = false, icon: icon$1, active = false, ...props }, ref) => /* @__PURE__ */ React.createElement( "button", { className: windowsButton({ active, small }), ...props, ref }, /* @__PURE__ */ React.createElement("div", { className: icon }, icon$1), children ) ); export { WindowButton };