mento-protocol / governance-ui

An open source interface for the Mento protocol governance
https://governance.mento.org
0 stars 0 forks source link

Modal component: Implementing generic modal/dialog #92

Closed RyRy79261 closed 2 weeks ago

RyRy79261 commented 5 months ago

Over view

A standard styled modal should be created.

This should leverage tailwind components and have certain custmizations.

An appropriate tailwind based modal package can be used, provided its light weight.

Acceptance criteria

Option 1: Prebuiilt

Option 2: Manually created

RyRy79261 commented 5 months ago

@denviljclarke Do you have any preferred/suggested approaches for this?

denviljclarke commented 5 months ago

I think we should use Tailwind / Headless UI's Modal. It's pretty straight forward. You can expand the scope of this ticket to replace the existing modals with this modal and assign me 🫡