@procore/submittal-viewer-plugin
v0.0.1
Published
Submittals tool file viewer
Maintainers
Keywords
Readme
Submittal Viewer Plugin Introduction
This plugin will add additional features and logic to the base viewer. It will consume the markup viewer sdk.
Installation
yarn add @procore/labs-submittal-viewer-pluginDependencies
@procore/core-react and react are listed as external peer dependencies. The package will not bundle the code, and requires the app client to provide it as a dependency. The external peer dep is to assure React Context is consistent in a client's React tree, the child consumers can reference the correct parent provider. If the package uses latest features or bug fixes and a new minimum version of core-react is required, it should be considered a breaking change as the peer dependency version must be met.
Usage
import { SubmittalViewerPlugin } from '@procore/labs-submittal-viewer-plugin'