mirror of
https://github.com/openshiporg/openship.git
synced 2026-06-19 07:35:55 +00:00
27b0227134
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
572 B
TypeScript
23 lines
572 B
TypeScript
import * as React from "react"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
interface FieldDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
const FieldDescription = React.forwardRef<HTMLParagraphElement, FieldDescriptionProps>(
|
|
({ className, children, ...props }, ref) => {
|
|
return (
|
|
<p
|
|
ref={ref}
|
|
className={cn("text-sm text-muted-foreground", className)}
|
|
{...props}
|
|
>
|
|
{children}
|
|
</p>
|
|
)
|
|
}
|
|
)
|
|
FieldDescription.displayName = "FieldDescription"
|
|
|
|
export { FieldDescription }
|