mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
React Git Bridge Modal (#3757)
* git-bridge-modal react component and stories * added react git-bridge-modal to angular tree GitOrigin-RevId: cf883b776a9ddc7975977534dc453ece4b3ec431
This commit is contained in:
@@ -10,15 +10,18 @@ ApplicationContext.Provider.propTypes = {
|
||||
id: PropTypes.string.isRequired
|
||||
}),
|
||||
exposedSettings: PropTypes.shape({
|
||||
appName: PropTypes.string.isRequired,
|
||||
enableSubscriptions: PropTypes.bool
|
||||
})
|
||||
}),
|
||||
gitBridgePublicBaseUrl: PropTypes.string.isRequired
|
||||
})
|
||||
}
|
||||
|
||||
export function ApplicationProvider({ children }) {
|
||||
const applicationContextValue = {
|
||||
user: window.user,
|
||||
exposedSettings: ExposedSettings
|
||||
exposedSettings: ExposedSettings,
|
||||
gitBridgePublicBaseUrl: window.gitBridgePublicBaseUrl
|
||||
}
|
||||
return (
|
||||
<ApplicationContext.Provider value={applicationContextValue}>
|
||||
|
||||
Reference in New Issue
Block a user