Skip to content

Commit f549bf2

Browse files
docs(examples): update submit button markup in React renderer
1 parent cc84197 commit f549bf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/react-renderer/src/Autocomplete.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ export function Autocomplete(
115115
>
116116
<div className="aa-InputWrapperPrefix">
117117
<label className="aa-Label" {...autocomplete.getLabelProps({})}>
118-
<SearchIcon />
118+
<button className="aa-SubmitButton" type="submit" title="Submit">
119+
<SearchIcon />
120+
</button>
119121
</label>
120122
</div>
121123
<div className="aa-InputWrapper">

0 commit comments

Comments
 (0)