dishplanner/frontend-old/app/components/ui/Description.tsx

17 lines
354 B
TypeScript
Raw Permalink Normal View History

2025-10-13 14:57:11 +02:00
import classNames from "classnames";
import React from "react";
interface Props {
children: React.ReactNode;
className?: string;
}
const Description = ({ children, className }: Props) => {
const style = classNames("italic font-size-16",
2025-10-13 14:57:11 +02:00
className
)
return <p className={style}>{ children }</p>
}
export default Description