You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/gooeyInput.tsx
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ export function GooeyTextarea({
37
37
state,
38
38
name,
39
39
defaultValue,
40
+
args,
40
41
});
41
42
return(
42
43
<divclassName="gui-input gui-input-textarea">
@@ -74,6 +75,7 @@ export function GooeyInput({
74
75
state,
75
76
name,
76
77
defaultValue,
78
+
args,
77
79
});
78
80
return(
79
81
<divclassName={className}>
@@ -100,10 +102,12 @@ export function useGooeyStringInput<
100
102
state,
101
103
name,
102
104
defaultValue,
105
+
args,
103
106
}: {
104
107
state: Record<string,any>;
105
108
name: string;
106
109
defaultValue: string;
110
+
args?: Record<string,any>;
107
111
}): [
108
112
inputRef: React.RefObject<E>,
109
113
value: string,
@@ -117,6 +121,8 @@ export function useGooeyStringInput<
117
121
// but to avoid reloading the page on every change with onChange (gets very annoying when typing), we need to use this extra state variable with a useEffect
0 commit comments