Closed duci9y closed 4 years ago
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...)
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?).