mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
21 lines
431 B
Markdown
21 lines
431 B
Markdown
# @k8slens/ui-components
|
|
|
|
This package contains React UI components used in the Lens
|
|
|
|
# Usage
|
|
|
|
```bash
|
|
$ npm install @k8slens/ui-components
|
|
```
|
|
|
|
```typescript
|
|
import { uiComponentsFeature } from "@k8slens/ui-components";
|
|
import { registerFeature } from "@k8slens/feature-core";
|
|
import { createContainer } from "@ogre-tools/injectable";
|
|
|
|
const di = createContainer("some-container");
|
|
|
|
registerFeature(di, uiComponentsFeature);
|
|
```
|
|
|