1.0.1 • Published 2 years ago
@procore/labs-sidebar v1.0.1
Sidebar Introduction
sidebar for procore admin
Installation
yarn add @procore/labs-sidebar
Dependencies
@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 { AdminSidebar } from '@procore/labs-sidebar';
<AdminSidebar
entityType={'company' | 'project'}
entityId="123"
activeLinkId="my-fav-link"
/>;
1.0.1
2 years ago
1.0.0
3 years ago
0.1.0
4 years ago
0.1.0-beta.1
4 years ago
0.1.0-beta.0
4 years ago
0.0.3
4 years ago
0.0.4
4 years ago
0.0.2
4 years ago
0.0.3-alpha.0
4 years ago
0.0.1
4 years ago