- Buttons to close the frame and open external URLs
- Add
useCloseand wire to a button - Add
useOpenUrland wire to external links
- Close button dismisses the frame
- External links open correctly in and out of frame contexts
Handle closing the frame and opening external URLs safely
useClose and wire to a buttonuseOpenUrl and wire to external links