({
className,
variant = "default",
render,
...props
}: useRender.ComponentProps<"div"> & VariantProps<typeof markerVariants>)
| 19 | ) |
| 20 | |
| 21 | function Marker({ |
| 22 | className, |
| 23 | variant = "default", |
| 24 | render, |
| 25 | ...props |
| 26 | }: useRender.ComponentProps<"div"> & VariantProps<typeof markerVariants>) { |
| 27 | return useRender({ |
| 28 | defaultTagName: "div", |
| 29 | props: mergeProps<"div">( |
| 30 | { |
| 31 | className: cn(markerVariants({ variant, className })), |
| 32 | }, |
| 33 | props |
| 34 | ), |
| 35 | render, |
| 36 | state: { |
| 37 | slot: "marker", |
| 38 | variant, |
| 39 | }, |
| 40 | }) |
| 41 | } |
| 42 | |
| 43 | function MarkerIcon({ className, ...props }: React.ComponentProps<"span">) { |
| 44 | return ( |
nothing calls this directly
no test coverage detected