@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.
30 lines (26 loc) • 775 B
JavaScript
var jsxRuntime = require('react/jsx-runtime');
var classNames = require('../../utils/class-names.cjs');
const ICON_WIDTH = 20;
const ICON_HEIGHT = 20;
function Icon({ children, className, ...props }) {
return /* @__PURE__ */ jsxRuntime.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.classNames("lb-icon", className),
...props,
children
});
}
exports.ICON_HEIGHT = ICON_HEIGHT;
exports.ICON_WIDTH = ICON_WIDTH;
exports.Icon = Icon;
//# sourceMappingURL=Icon.cjs.map
;