JumboCode / TUTV

JumboCode project for TUTV, currently led by Frank Ma. Led by Deepanshu Utkarsh 2019 - 2020.
4 stars 0 forks source link

Create generic pop-up component #74

Closed duci9y closed 4 years ago

duci9y commented 4 years ago

Create a generic pop-up component. #60 and #72 depend on this to be in /components. @emai-lai if you can provide a mockup for an empty popup and attach it here that will be super useful!

Here's some props I think it will need: width/height (optional, it should fit to content otherwise), close button handler (optional), completion handler (optional), content (which can just be children, thoughts?).

emai-lai commented 4 years ago

Pop-up Modal

Generic modal/pop-up component

Corner radius = 20px Distance of X icon from edges = 12px

https://www.figma.com/file/Po7ZSOM7W6ZRVJQFXlilIC/TUTV-JumboCode?node-id=355%3A1205 (note that dimensions are doubled on Figma...)