2022-11-23 22:47:18 -07:00
|
|
|
import { NextComponentType } from 'next'
|
|
|
|
|
|
|
|
interface PromptEntryProps {
|
|
|
|
prompt: string
|
2022-11-24 19:32:39 -07:00
|
|
|
index: number
|
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,
|
2022-11-24 19:32:39 -07:00
|
|
|
index,
|
2022-11-24 13:39:30 -07:00
|
|
|
className,
|
|
|
|
}: PromptEntryProps) {
|
|
|
|
|
2022-11-23 22:47:18 -07:00
|
|
|
return (
|
|
|
|
<>
|
2022-11-24 13:39:30 -07:00
|
|
|
<p className={className}>
|
2022-11-24 19:32:39 -07:00
|
|
|
{prompt == "" ? index == 5 ? "UP NEXT: Anything you want" + prompt : "..." : index == 5 ? "UP NEXT: " + prompt : prompt}
|
2022-11-23 22:47:18 -07:00
|
|
|
</p>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|