mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
20 lines
471 B
TypeScript
20 lines
471 B
TypeScript
import { ReactText } from 'react'
|
|
|
|
interface Props {
|
|
icon: JSX.Element
|
|
text: ReactText
|
|
}
|
|
|
|
const FormBoxEmpty = ({ icon, text }: Props) => {
|
|
return (
|
|
<div className="flex items-center justify-center flex-row py-4 space-x-2">
|
|
<div className="relative bg-scale-300 text-scale-900 w-6 h-6 rounded-full flex items-center justify-center">
|
|
{icon}
|
|
</div>
|
|
<p className="text-scale-1000">{text}</p>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default FormBoxEmpty
|