You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
526 B
29 lines
526 B
import type { ReactNode } from "react";
|
|
|
|
type ExplanationUiFontProps = {
|
|
children: ReactNode;
|
|
className?: string;
|
|
textColor?: string;
|
|
};
|
|
|
|
export function ExplanationUiFont({
|
|
children,
|
|
className,
|
|
textColor = "text-[#667085]",
|
|
}: ExplanationUiFontProps) {
|
|
return (
|
|
<span
|
|
className={[
|
|
"text-[12.5px] font-normal leading-normal",
|
|
textColor,
|
|
className,
|
|
]
|
|
.filter(Boolean)
|
|
.join(" ")}
|
|
>
|
|
{children}
|
|
</span>
|
|
);
|
|
}
|
|
|
|
export default ExplanationUiFont;
|