({ toggleForm }: { toggleForm: () => void })
| 26 | } |
| 27 | |
| 28 | function CloseButton({ toggleForm }: { toggleForm: () => void }) { |
| 29 | return ( |
| 30 | <dl className="form-group"> |
| 31 | <button className="btn-link" onClick={toggleForm} type="button">Close</button> |
| 32 | </dl> |
| 33 | ) |
| 34 | } |
| 35 | |
| 36 | function Url({ url, showLink }: { url: string | null, showLink: boolean }) { |
| 37 | if (!url || !showLink) return null |
nothing calls this directly
no outgoing calls
no test coverage detected