Skip to content

Commit

Permalink
[docs] Fix typo (mantinedev#3778)
Browse files Browse the repository at this point in the history
The `Pagination` component does not have a value prop as the docs show. I updated the `Pagination` component example in the docs to use the current `page` prop.
  • Loading branch information
kaeevans authored Mar 15, 2023
1 parent 3f9c83a commit 358365b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/core/Pagination.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { Pagination } from '@mantine/core';

function Demo() {
const [activePage, setPage] = useState(1);
return <Pagination value={activePage} onChange={setPage} total={10} />;
return <Pagination page={activePage} onChange={setPage} total={10} />;
}
```

Expand Down

0 comments on commit 358365b

Please sign in to comment.