Files
supabase/studio/components/ui/FormBoxEmpty.tsx
T
Ivan Vasilov 282b08ba60 Migrate CSS classes for lighter text (#17728)
Change all occurences of text-scale-900 to text-foreground-lighter.
2023-09-27 12:01:25 +08:00

20 lines
486 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-foreground-lighter w-6 h-6 rounded-full flex items-center justify-center">
{icon}
</div>
<p className="text-foreground-light">{text}</p>
</div>
)
}
export default FormBoxEmpty