@pantheon-systems/pds-toolkit-react 1.0.0-dev.168 → 1.0.0-dev.169
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.
|
@@ -46,5 +46,8 @@ interface IconButtonProps extends ComponentPropsWithoutRef<'button'> {
|
|
|
46
46
|
/**
|
|
47
47
|
* IconButton UI component
|
|
48
48
|
*/
|
|
49
|
-
export declare const IconButton:
|
|
49
|
+
export declare const IconButton: {
|
|
50
|
+
({ ariaLabel, buttonType, disabled, hasTooltip, iconName, icon2Name, onClick, size, variant, className, ...props }: IconButtonProps): React.JSX.Element;
|
|
51
|
+
displayName: string;
|
|
52
|
+
};
|
|
50
53
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ComponentPropsWithoutRef } from 'react';
|
|
1
|
+
import React, { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './input-group.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for InputGroup
|
|
@@ -7,7 +7,7 @@ export interface InputGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
7
7
|
/**
|
|
8
8
|
* Input and button elements
|
|
9
9
|
*/
|
|
10
|
-
children:
|
|
10
|
+
children: ReactNode;
|
|
11
11
|
/**
|
|
12
12
|
* Additional class names
|
|
13
13
|
*/
|