Skip to content

Commit

Permalink
[docs] Avoid refreshing the page when button on demo is clicked (mui#…
Browse files Browse the repository at this point in the history
  • Loading branch information
PunitSoniME authored and Daniel Rabe committed Nov 29, 2022
1 parent 7213fdf commit 6379c2d
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 6379c2d

Please sign in to comment.