@abgov/react-components 4.0.0-alpha.111 → 4.0.0-alpha.112
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/details/details.d.ts +18 -0
- package/package.json +1 -1
- package/react-components.esm.js +3268 -2987
- package/react-components.umd.js +3266 -2984
package/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from "./lib/checkbox/checkbox";
|
|
|
12
12
|
export * from "./lib/chip/chip";
|
|
13
13
|
export * from "./lib/circular-progress/circular-progress";
|
|
14
14
|
export * from "./lib/container/container";
|
|
15
|
+
export * from "./lib/details/details";
|
|
15
16
|
export * from "./lib/divider/divider";
|
|
16
17
|
export * from "./lib/dropdown/dropdown";
|
|
17
18
|
export * from "./lib/dropdown/dropdown-item";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { Margins } from "../../common/styling";
|
|
3
|
+
interface WCProps extends Margins {
|
|
4
|
+
heading: string;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
namespace JSX {
|
|
8
|
+
interface IntrinsicElements {
|
|
9
|
+
"goa-details": WCProps & React.HTMLAttributes<HTMLElement>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export interface DetailsProps extends Margins {
|
|
14
|
+
heading: string;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare function GoADetails(props: DetailsProps): JSX.Element;
|
|
18
|
+
export default GoADetails;
|
package/package.json
CHANGED