Closed hackwithharsha closed 1 year ago
You can use the className
prop on the resulting component. Or just put a child component under the <Modal />
component and put your tailwind classes there. For example:
<Modal isOpen={isOpen} />
<div className="pt-6 space-y-4" />
</Modal>
In the following example, we are using CSS.. is it possible to replace them with tailwind utility classes? If so, how to do it ?