Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtFlag committed Dec 11, 2020
1 parent 44f9cb9 commit 5382dd8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions website/docs/sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,3 +301,17 @@ module.exports = {
},
};
```

## Passing custom props

To pass in custom props to a swizzled sidebar item, add the optional `customProps` object to any of the items:

```js
{
type: 'doc';
id: 'doc1';
customProps: {
/* props */
}
}
```

0 comments on commit 5382dd8

Please sign in to comment.