@sequencing/design-system 1.0.16 → 1.0.17
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/dist/documentation.json +7 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Atoms/TextField/TextField.d.ts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/components/Atoms/TextField/TextField.d.ts +3 -1
- package/package.json +1 -1
|
@@ -19,10 +19,12 @@ export interface TextFieldProps {
|
|
|
19
19
|
onChange?: (value: string) => void;
|
|
20
20
|
/** Callback called when the input is clicked */
|
|
21
21
|
onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
|
|
22
|
+
/** Reference to the input element */
|
|
23
|
+
inputRef?: React.RefObject<HTMLInputElement>;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* The Text Field component renders a simple input field with SDS stylings applied.
|
|
25
27
|
*
|
|
26
28
|
*/
|
|
27
|
-
declare const TextField: ({ value, customClass, placeholder, showClearButton, variant, onChange, onClick, }: PropsWithChildren<TextFieldProps>) => React.JSX.Element;
|
|
29
|
+
declare const TextField: ({ value, customClass, placeholder, showClearButton, variant, onChange, onClick, inputRef, }: PropsWithChildren<TextFieldProps>) => React.JSX.Element;
|
|
28
30
|
export default TextField;
|