18 lines
349 B
TypeScript
18 lines
349 B
TypeScript
import { footnoteVariants } from "./variants"
|
|
|
|
import type { FootnoteProps } from "./footnote"
|
|
|
|
export default function Footnote({
|
|
children,
|
|
className = "",
|
|
color,
|
|
textTransform,
|
|
}: FootnoteProps) {
|
|
const classNames = footnoteVariants({
|
|
className,
|
|
color,
|
|
textTransform,
|
|
})
|
|
return <p className={classNames}>{children}</p>
|
|
}
|