2020-05-19 09:09:59 +02:00
|
|
|
import React from 'react'
|
2019-01-14 01:59:26 +01:00
|
|
|
|
2020-06-12 00:09:06 +02:00
|
|
|
export const HeadManagerContext: React.Context<{
|
|
|
|
updateHead?: (state: any) => void
|
|
|
|
mountedInstances?: any
|
2020-12-01 19:10:16 +01:00
|
|
|
updateScripts?: (state: any) => void
|
|
|
|
scripts?: any
|
2020-06-12 00:09:06 +02:00
|
|
|
}> = React.createContext({})
|
2020-04-13 11:55:42 +02:00
|
|
|
|
|
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
|
|
HeadManagerContext.displayName = 'HeadManagerContext'
|
|
|
|
}
|