@abgov/react-components 4.0.0-alpha.100 → 4.0.0-alpha.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -0
- package/lib/table/table.d.ts +19 -0
- package/package.json +1 -1
- package/react-components.esm.js +1563 -1295
- package/react-components.umd.js +1562 -1293
package/index.d.ts
CHANGED
|
@@ -32,5 +32,6 @@ export * from "./lib/radio-group/radio-group";
|
|
|
32
32
|
export * from "./lib/skeleton/skeleton";
|
|
33
33
|
export * from "./lib/spacer/spacer";
|
|
34
34
|
export * from "./lib/spinner/spinner";
|
|
35
|
+
export * from "./lib/table/table";
|
|
35
36
|
export * from "./lib/textarea/textarea";
|
|
36
37
|
export * from "./lib/two-column-layout/two-column-layout";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { Margins } from "../../common/styling";
|
|
3
|
+
interface WCProps extends Margins {
|
|
4
|
+
width?: string;
|
|
5
|
+
stickyheader?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
namespace JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
"goa-table": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export interface TableProps extends Margins {
|
|
15
|
+
width?: string;
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare function GoATable(props: TableProps): JSX.Element;
|
|
19
|
+
export default GoATable;
|
package/package.json
CHANGED