diff --git a/platform/ui/src/components/Table/Table.mdx b/platform/ui/src/components/Table/Table.mdx index fbc06a2a0..d049ed3a6 100644 --- a/platform/ui/src/components/Table/Table.mdx +++ b/platform/ui/src/components/Table/Table.mdx @@ -14,7 +14,7 @@ Tables display sets of data. ## Import ```javascript -import { Table } from '@ohfi/ui'; +import { Table } from '@ohif/ui'; ``` ## Basic usage @@ -94,7 +94,7 @@ import { Table } from '@ohfi/ui'; Table has full width by default. If you want to change its width, you will have to set the `fullWidth` prop to `false` and then define your own table width by -passing a `className` or by `style`. +passing a `className` or `style`. ## Table components diff --git a/platform/ui/src/components/TableBody/TableBody.mdx b/platform/ui/src/components/TableBody/TableBody.mdx new file mode 100644 index 000000000..159fa2cd2 --- /dev/null +++ b/platform/ui/src/components/TableBody/TableBody.mdx @@ -0,0 +1,36 @@ +--- +name: Table Body +menu: Components +route: components/table-body +--- + +import { Playground, Props, Link } from 'docz'; +import { TableBody } from '@ohif/ui'; + +# Table Body + +## Import + +```javascript +import { TableBody } from '@ohif/ui'; +``` + +## Basic usage + +
+ For examples on how to use the table elements, go to the Table page. +
+ +## Table components + +TableHead +
+TableBody +
+TableRow +
+TableCell + +## Properties + + diff --git a/platform/ui/src/components/TableCell/TableCell.mdx b/platform/ui/src/components/TableCell/TableCell.mdx new file mode 100644 index 000000000..b92606d1c --- /dev/null +++ b/platform/ui/src/components/TableCell/TableCell.mdx @@ -0,0 +1,36 @@ +--- +name: Table Cell +menu: Components +route: components/table-cell +--- + +import { Playground, Props, Link } from 'docz'; +import { TableCell } from '@ohif/ui'; + +# Table Cell + +## Import + +```javascript +import { TableCell } from '@ohif/ui'; +``` + +## Basic usage + +
+ For examples on how to use the table elements, go to the Table page. +
+ +## Table components + +TableHead +
+TableBody +
+TableRow +
+TableCell + +## Properties + + diff --git a/platform/ui/src/components/TableHead/TableHead.mdx b/platform/ui/src/components/TableHead/TableHead.mdx new file mode 100644 index 000000000..9197cf959 --- /dev/null +++ b/platform/ui/src/components/TableHead/TableHead.mdx @@ -0,0 +1,36 @@ +--- +name: Table Head +menu: Components +route: components/table-head +--- + +import { Playground, Props, Link } from 'docz'; +import { TableHead } from '@ohif/ui'; + +# Table Head + +## Import + +```javascript +import { TableHead } from '@ohif/ui'; +``` + +## Basic usage + +
+ For examples on how to use the table elements, go to the Table page. +
+ +## Table components + +TableHead +
+TableBody +
+TableRow +
+TableCell + +## Properties + + diff --git a/platform/ui/src/components/TableRow/TableRow.mdx b/platform/ui/src/components/TableRow/TableRow.mdx new file mode 100644 index 000000000..8fa75556a --- /dev/null +++ b/platform/ui/src/components/TableRow/TableRow.mdx @@ -0,0 +1,36 @@ +--- +name: Table Row +menu: Components +route: components/table-row +--- + +import { Playground, Props, Link } from 'docz'; +import { TableRow } from '@ohif/ui'; + +# Table Row + +## Import + +```javascript +import { TableRow } from '@ohif/ui'; +``` + +## Basic usage + +
+ For examples on how to use the table elements, go to the Table page. +
+ +## Table components + +TableHead +
+TableBody +
+TableRow +
+TableCell + +## Properties + +