Skip to content

Commit

Permalink
Merge pull request #8401 from marmelab/fix-docs-filter
Browse files Browse the repository at this point in the history
[Doc] Fix FilterList example and anchor
  • Loading branch information
slax57 authored Nov 17, 2022
2 parents 51c3b4b + 27bad58 commit 0d11a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/FilterList.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const PostFilterSidebar = () => (
<Card sx={{ order: -1, mr: 2, mt: 9, width: 200 }}>
<CardContent>
<SavedQueriesList />
<FilterLiveSearch >
<FilterLiveSearch />
<FilterList label="Subscribed to newsletter" icon={<MailIcon />}>
<FilterListItem label="Yes" value={{ has_newsletter: true }} />
<FilterListItem label="No" value={{ has_newsletter: false }} />
Expand All @@ -45,7 +45,7 @@ export const PostFilterSidebar = () => (
```
{% endraw %}

Add this component to the list view using [the `<List aside>` prop](./List.md#aside):
Add this component to the list view using [the `<List aside>` prop](./List.md#aside-side-component):

```jsx
import { PostFilterSidebar } from './PostFilterSidebar';
Expand Down

0 comments on commit 0d11a58

Please sign in to comment.