This is the main documentation page for the Devcontainer plugin's React components.
This component is designed as a lightweight demonstration of the main useDevcontainers hook.
Its main functionality is:
- Detecting whether the current repo entity being viewed supports has been tagged with the configured Dev Containers tag (as defined by the config options in
DevcontainersConfig) - Displaying a link to launch the repo in a Dev Container via VS Code.
It does not have support for extensibility.
declare function ExampleDevcontainersComponent(): JSX.Element;<DevcontainersProvider config={devcontainersConfig}>
<ExampleDevcontainersComponent />
</DevcontainersProvider>- Throws a render error if this component mounts outside of
DevcontainersProvider
- While this component was never designed to serve as more than a demo, if you feel that a polished version of this component could be helpful to you, please let us know by opening a GitHub issue.