MCPcopy Create free account
hub / github.com/WebDevSimplified/course-platform / RequiredLabelIcon

Function RequiredLabelIcon

src/components/RequiredLabelIcon.tsx:5–15  ·  view source on GitHub ↗
({
  className,
  ...props
}: ComponentPropsWithoutRef<typeof AsteriskIcon>)

Source from the content-addressed store, hash-verified

3import { ComponentPropsWithoutRef } from "react"
4
5export 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

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected