- Added essential configuration files including components.json, package.json, and tsconfig.json to establish the component library structure. - Introduced global styles in globals.css and layout structure in layout.tsx for consistent design application. - Implemented various UI components such as Accordion, AlertDialog, Button, Card, and more, enhancing the component library for future development. - Included utility functions and hooks to support component functionality and responsiveness. This commit sets up the groundwork for a comprehensive UI component library, facilitating a modular and scalable design system.
12 lines
427 B
TypeScript
12 lines
427 B
TypeScript
import * as React from "react"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export interface MetadataProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
|
|
const Metadata = React.forwardRef<HTMLSpanElement, MetadataProps>(({ className, ...props }, ref) => {
|
|
return <span ref={ref} className={cn("text-[0.7rem] uppercase tracking-[0.25em] opacity-80", className)} {...props} />
|
|
})
|
|
Metadata.displayName = "Metadata"
|
|
|
|
export { Metadata }
|