headplane/app/components/Text.tsx

12 lines
276 B
TypeScript
Raw Normal View History

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