Skip to content

Commit

Permalink
[docs] Fix Pickers CustomComponents Incorrect naming of a component i…
Browse files Browse the repository at this point in the history
…n example (mui#11003)
  • Loading branch information
lhilgert9 authored Nov 13, 2023
1 parent 9ec35c4 commit 651e698
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function MyApp() {

```jsx
// ✅ The `toolbar` slot is defined only once, it will never remount.
const CustomActionBar = ({ name, setName }) => (
const CustomToolbar = ({ name, setName }) => (
<input value={name} onChange={(event) => setName(event.target.value)} />
);

Expand Down

0 comments on commit 651e698

Please sign in to comment.