Download next.js/packages/next/src/shared/lib/amp-context.shared-runtime.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/shared/lib/amp-context.shared-runtime.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/shared/lib/amp-context.shared-runtime.ts
-
curl -L -o amp-context.shared-runtime.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/shared/lib/amp-context.shared-runtime.ts
200 Bytes
| import React from 'react' | |
| export const AmpStateContext: React.Context<any> = React.createContext({}) | |
| if (process.env.NODE_ENV !== 'production') { | |
| AmpStateContext.displayName = 'AmpStateContext' | |
| } | |