UNPKG

geoiq-frontend-ui-kit

Version:

This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.

43 lines (42 loc) 1 kB
import * as a from "react"; import * as e from "@radix-ui/react-avatar"; import { cn as m } from "./index.es79.js"; const s = a.forwardRef(({ className: l, ...r }, t) => /* @__PURE__ */ a.createElement( e.Root, { ref: t, className: m( "relative flex h-full w-full shrink-0 overflow-hidden rounded-full", l ), ...r } )); s.displayName = e.Root.displayName; const f = a.forwardRef(({ className: l, ...r }, t) => /* @__PURE__ */ a.createElement( e.Image, { ref: t, className: m("aspect-square h-full w-full", l), ...r } )); f.displayName = e.Image.displayName; const o = a.forwardRef(({ className: l, ...r }, t) => /* @__PURE__ */ a.createElement( e.Fallback, { ref: t, className: m( "flex h-full w-full items-center justify-center rounded-full bg-muted", l ), ...r } )); o.displayName = e.Fallback.displayName; export { s as Avatar, o as AvatarFallback, f as AvatarImage }; //# sourceMappingURL=index.es5.js.map