UNPKG

@liveblocks/react-ui

Version:

A set of React pre-built components for the Liveblocks products. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.

26 lines (23 loc) 684 B
import { jsx } from 'react/jsx-runtime'; import { classNames } from '../../utils/class-names.js'; const ICON_WIDTH = 20; const ICON_HEIGHT = 20; function Icon({ children, className, ...props }) { return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: ICON_WIDTH, height: ICON_HEIGHT, viewBox: `0 0 ${ICON_WIDTH} ${ICON_HEIGHT}`, fill: "none", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round", role: "presentation", className: classNames("lb-icon", className), ...props, children }); } export { ICON_HEIGHT, ICON_WIDTH, Icon }; //# sourceMappingURL=Icon.js.map