EdgeFunctions.tsx14 lines · main
| 1 | import ContentSnippet from '../ContentSnippet' |
| 2 | import { DOCS_CONTENT } from '../ProjectAPIDocs.constants' |
| 3 | import type { ContentProps } from './Content.types' |
| 4 | |
| 5 | export const EdgeFunctions = ({ language }: ContentProps) => { |
| 6 | return ( |
| 7 | <> |
| 8 | <ContentSnippet selectedLanguage={language} snippet={DOCS_CONTENT.edgeFunctions} /> |
| 9 | <ContentSnippet selectedLanguage={language} snippet={DOCS_CONTENT.edgeFunctionsPreReq} /> |
| 10 | <ContentSnippet selectedLanguage={language} snippet={DOCS_CONTENT.createEdgeFunction} /> |
| 11 | <ContentSnippet selectedLanguage={language} snippet={DOCS_CONTENT.deployEdgeFunction} /> |
| 12 | </> |
| 13 | ) |
| 14 | } |