Function
RequiredLabelIcon
({
className,
...props
}: ComponentPropsWithoutRef<typeof AsteriskIcon>)
Source from the content-addressed store, hash-verified
| 3 | import { ComponentPropsWithoutRef } from "react" |
| 4 | |
| 5 | export function RequiredLabelIcon({ |
| 6 | className, |
| 7 | ...props |
| 8 | }: ComponentPropsWithoutRef<typeof AsteriskIcon>) { |
| 9 | return ( |
| 10 | <AsteriskIcon |
| 11 | {...props} |
| 12 | className={cn("text-destructive inline size-4 align-top", className)} |
| 13 | /> |
| 14 | ) |
| 15 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected