import React from 'react' import Link from 'next/link' import '@/app/components/ApiModal.css' const ApiModal = ({open, setOpen, api}) => { return (
setOpen(false)}>Close

URL:

{api.url}

Description:

{api.description}

Query:

{api.query}

Response:

{api.response}

Method:

{api.method || 'GET'}

Test URL:

Try it
) } export default ApiModal