@ansible/ansible-ui-framework 0.0.348 → 0.0.350
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/PageTable.d.ts +13 -1
- package/cjs/PageTable.js +13 -1
- package/docs/components/PageTable.md +13 -1
- package/package.json +1 -1
package/cjs/PageTable.d.ts
CHANGED
@@ -52,7 +52,19 @@ export type PageTableProps<T extends object> = {
|
|
52
52
|
defaultCardSubtitle?: ReactNode;
|
53
53
|
};
|
54
54
|
/**
|
55
|
-
* PageTable
|
55
|
+
* The PageTable component is used for adding a table to a page.
|
56
|
+
*
|
57
|
+
* See the [Table Guide](docs/guides/PageTableGuide.md).
|
58
|
+
*
|
59
|
+
* @example
|
60
|
+
* ```tsx
|
61
|
+
* <Page>
|
62
|
+
* <PageLayout>
|
63
|
+
* <PageHeader ... />
|
64
|
+
* <PageTable ... />
|
65
|
+
* </PageLayout>
|
66
|
+
* </Page>
|
67
|
+
* ```
|
56
68
|
*/
|
57
69
|
export declare function PageTable<T extends object>(props: PageTableProps<T>): JSX.Element;
|
58
70
|
type CellFn<T extends object> = (item: T) => ReactNode;
|
package/cjs/PageTable.js
CHANGED
@@ -55,7 +55,19 @@ function TablePage(props) {
|
|
55
55
|
}
|
56
56
|
exports.TablePage = TablePage;
|
57
57
|
/**
|
58
|
-
* PageTable
|
58
|
+
* The PageTable component is used for adding a table to a page.
|
59
|
+
*
|
60
|
+
* See the [Table Guide](docs/guides/PageTableGuide.md).
|
61
|
+
*
|
62
|
+
* @example
|
63
|
+
* ```tsx
|
64
|
+
* <Page>
|
65
|
+
* <PageLayout>
|
66
|
+
* <PageHeader ... />
|
67
|
+
* <PageTable ... />
|
68
|
+
* </PageLayout>
|
69
|
+
* </Page>
|
70
|
+
* ```
|
59
71
|
*/
|
60
72
|
function PageTable(props) {
|
61
73
|
var _a;
|
@@ -2,4 +2,16 @@
|
|
2
2
|
|
3
3
|
# PageTable
|
4
4
|
|
5
|
-
PageTable
|
5
|
+
The PageTable component is used for adding a table to a page.
|
6
|
+
See the <a href="docs/guides/PageTableGuide.md">Table Guide</a>.
|
7
|
+
|
8
|
+
**Example**
|
9
|
+
|
10
|
+
```tsx
|
11
|
+
<Page>
|
12
|
+
<PageLayout>
|
13
|
+
<PageHeader ... />
|
14
|
+
<PageTable ... />
|
15
|
+
</PageLayout>
|
16
|
+
</Page>
|
17
|
+
```
|