riffusion-app/components/PromptEntry.tsx

18 lines
321 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
}
const PromptEntry = (props: PromptEntryProps) => {
return (
<>
2022-11-24 00:23:34 -07:00
<p className={props.className}>
2022-11-23 22:47:18 -07:00
{props.prompt}
</p>
</>
)
}
export default PromptEntry