Skip to content

Commit

Permalink
[docs] Avoid refreshing the page when button on demo is clicked (#33852)
Browse files Browse the repository at this point in the history
  • Loading branch information
PunitSoniME committed Aug 15, 2022
1 parent f03e7ec commit 6f1819e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -21,7 +21,7 @@ export default function CustomizedInputBase() {
placeholder="Search Google Maps"
inputProps={{ 'aria-label': 'search google maps' }}
/>
<IconButton type="submit" sx={{ p: '10px' }} aria-label="search">
<IconButton type="button" sx={{ p: '10px' }} aria-label="search">
<SearchIcon />
</IconButton>
<Divider sx={{ height: 28, m: 0.5 }} orientation="vertical" />
Expand Down
Expand Up @@ -21,7 +21,7 @@ export default function CustomizedInputBase() {
placeholder="Search Google Maps"
inputProps={{ 'aria-label': 'search google maps' }}
/>
<IconButton type="submit" sx={{ p: '10px' }} aria-label="search">
<IconButton type="button" sx={{ p: '10px' }} aria-label="search">
<SearchIcon />
</IconButton>
<Divider sx={{ height: 28, m: 0.5 }} orientation="vertical" />
Expand Down

0 comments on commit 6f1819e

Please sign in to comment.