UNPKG

tldraw

Version:

A tiny little drawing editor.

23 lines (22 loc) 551 B
import { jsx } from "react/jsx-runtime"; import classnames from "classnames"; import * as React from "react"; const TldrawUiButton = React.forwardRef( function TldrawUiButton2({ children, type, ...props }, ref) { return /* @__PURE__ */ jsx( "button", { ref, type: "button", draggable: false, ...props, className: classnames("tlui-button", `tlui-button__${type}`, props.className), children } ); } ); export { TldrawUiButton }; //# sourceMappingURL=TldrawUiButton.mjs.map