Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/List.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const PostActions = ({
/>
<RefreshButton />
{/* Add your custom actions */}
<Button primary onClick={customAction}>Custom Action</Button>
<Button color="primary" onClick={customAction}>Custom Action</Button>
</CardActions>
);

Expand Down Expand Up @@ -572,12 +572,12 @@ const PostPagination = ({ page, perPage, total, setPage }) => {
nbPages > 1 &&
<Toolbar>
{page > 1 &&
<Button primary key="prev" icon={<ChevronLeft />} onClick={() => setPage(page - 1)}>
<Button color="primary" key="prev" icon={<ChevronLeft />} onClick={() => setPage(page - 1)}>
Prev
</Button>
}
{page !== nbPages &&
<Button primary key="next" icon={<ChevronRight />} onClick={() => setPage(page + 1)} labelPosition="before">
<Button color="primary" key="next" icon={<ChevronRight />} onClick={() => setPage(page + 1)} labelPosition="before">
Next
</Button>
}
Expand Down