@abgov/react-components 4.0.0-alpha.156 → 4.0.0-alpha.158
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/lib/details/details.d.ts +2 -0
- package/package.json +1 -1
- package/react-components.esm.js +40 -34
- package/react-components.umd.js +41 -35
package/lib/details/details.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import React, { ReactNode } from "react";
|
|
|
2
2
|
import { Margins } from "../../common/styling";
|
|
3
3
|
interface WCProps extends Margins {
|
|
4
4
|
heading: string;
|
|
5
|
+
open?: boolean;
|
|
5
6
|
}
|
|
6
7
|
declare global {
|
|
7
8
|
namespace JSX {
|
|
@@ -12,6 +13,7 @@ declare global {
|
|
|
12
13
|
}
|
|
13
14
|
export interface DetailsProps extends Margins {
|
|
14
15
|
heading: string;
|
|
16
|
+
open?: boolean;
|
|
15
17
|
children: ReactNode;
|
|
16
18
|
}
|
|
17
19
|
export declare function GoADetails(props: DetailsProps): JSX.Element;
|
package/package.json
CHANGED