headplane/app/components/Text.tsx
2025-01-19 17:31:46 +00:00

16 lines
294 B
TypeScript

import React from 'react';
import { cn } from '~/utils/cn';
export interface TextProps {
children: React.ReactNode;
className?: string;
}
export default function Text({ children, className }: TextProps) {
return (
<p className={cn('text-md my-0', className)}>
{children}
</p>
);
}