MCPcopy
hub / github.com/shadcn-ui/ui / BubbleContent

Function BubbleContent

apps/v4/registry/bases/base/ui/bubble.tsx:58–79  ·  view source on GitHub ↗
({
  className,
  render,
  ...props
}: useRender.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

56}
57
58function BubbleContent({
59 className,
60 render,
61 ...props
62}: useRender.ComponentProps<"div">) {
63 return useRender({
64 defaultTagName: "div",
65 props: mergeProps<"div">(
66 {
67 className: cn(
68 "cn-bubble-content w-fit max-w-full min-w-0 overflow-hidden wrap-break-word [button]:text-left [button,a]:transition-colors",
69 className
70 ),
71 },
72 props
73 ),
74 render,
75 state: {
76 slot: "bubble-content",
77 },
78 })
79}
80
81const bubbleReactionsVariants = cva(
82 "cn-bubble-reactions absolute z-10 flex w-fit items-center justify-center",

Callers

nothing calls this directly

Calls 3

useRenderFunction · 0.90
cnFunction · 0.90
mergePropsFunction · 0.85

Tested by

no test coverage detected