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.
20 lines
392 B
20 lines
392 B
import { cn } from "@core/utils/cn.ts";
|
|
|
|
interface MonoProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
export const Mono = ({
|
|
children,
|
|
className,
|
|
...rest
|
|
}: MonoProps) => {
|
|
return (
|
|
<span
|
|
className={cn("font-mono text-sm text-text-secondary", className)}
|
|
{...rest}
|
|
>
|
|
{children}
|
|
</span>
|
|
);
|
|
};
|
|
|