* Use path instead of alias * Add missing pacakges * Use path in viewers * Use path in contextProviders * Add base to config * Add conditionals for window * Copy config to avoid breaking build * Update and lock versions * Update lock file * Remove scaling config * Fix broken versions of react date * Fix broken dev
38 lines
600 B
Plaintext
38 lines
600 B
Plaintext
---
|
|
name: Segmentation Table
|
|
menu: Data Display
|
|
route: components/segmentationTable
|
|
---
|
|
|
|
import { Playground, Props } from 'docz';
|
|
import { SegmentationTable } from '../';
|
|
|
|
# Segmentation Table
|
|
|
|
## Import
|
|
|
|
```javascript
|
|
import { SegmentationTable } from '@ohif/ui';
|
|
```
|
|
|
|
## Basic usage
|
|
|
|
<Playground>
|
|
{() => {
|
|
const tableData = {
|
|
title: 'Segments',
|
|
amount: 12,
|
|
data: new Array(12).fill(''),
|
|
};
|
|
return (
|
|
<div className="p-4 w-80">
|
|
<SegmentationTable {...tableData} />
|
|
</div>
|
|
);
|
|
}}
|
|
</Playground>
|
|
|
|
## Properties
|
|
|
|
<Props of={SegmentationTable} />
|