riffusion-app/components/PromptEntry.tsx

21 lines
316 B
TypeScript
Raw Normal View History

2022-11-23 22:47:18 -07:00
import { NextComponentType } from 'next'
interface PromptEntryProps {
prompt: string
2022-11-24 00:23:34 -07:00
className: string
2022-11-23 22:47:18 -07:00
}
2022-11-24 13:39:30 -07:00
export default function PromptEntry({
prompt,
className,
}: PromptEntryProps) {
2022-11-23 22:47:18 -07:00
return (
<>
2022-11-24 13:39:30 -07:00
<p className={className}>
{prompt}
2022-11-23 22:47:18 -07:00
</p>
</>
)
}