mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
4051ffcb01
* Add initial AMP implementation * Implement experimental feature flag * Implement feedback from sbenz * Add next/amp and `useAmp` hook * Use /:path*/amp instead * Add canonical * Add amphtml tag * Add ampEnabled for rel=“amphtml” * Remove extra type
4 lines
107 B
TypeScript
4 lines
107 B
TypeScript
import * as React from 'react'
|
|
|
|
export const IsAmpContext: React.Context<any> = React.createContext(false)
|