gf-components 0.1.21 → 0.1.23
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.
|
@@ -7,13 +7,16 @@ interface TabT {
|
|
|
7
7
|
interface ContentT {
|
|
8
8
|
[key: string]: React.ReactElement | React.ReactNode;
|
|
9
9
|
}
|
|
10
|
+
interface HandlerT {
|
|
11
|
+
[key: string]: MouseEventHandler<HTMLButtonElement>;
|
|
12
|
+
}
|
|
10
13
|
export interface TabCardProps extends GFCardProps {
|
|
11
14
|
tabList: TabT[];
|
|
12
15
|
tabContent: ContentT;
|
|
13
16
|
expandContent?: ContentT;
|
|
14
17
|
expandLabel?: string;
|
|
15
18
|
padding?: number;
|
|
16
|
-
handleDownload?:
|
|
19
|
+
handleDownload?: HandlerT;
|
|
17
20
|
}
|
|
18
21
|
declare const TabCard: React.FC<TabCardProps>;
|
|
19
22
|
export default TabCard;
|