UNPKG

@wener/console

Version:

Base console UI toolkit

23 lines (22 loc) 719 B
import React from "react"; import { PiClockLight } from "react-icons/pi"; import { getWindowDragHandleClassname } from "../../window/index.js"; import { Clock } from "./Clock/Clock.js"; import { defineApplet } from "./defineApplet.js"; export const ClockWidget = defineApplet({ name: "clock", title: "\u65F6\u95F4", window: { width: 300, height: 370, canResize: false, frameless: true, icon: /*#__PURE__*/ React.createElement(PiClockLight, null), render: () => { return /*#__PURE__*/ React.createElement(Clock, { className: getWindowDragHandleClassname() }); } } }); //# sourceMappingURL=ClockWidget.js.map