mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 20:27:20 +02:00
docs(v2): corrected the use of delimiters (#4478)
This commit is contained in:
parent
9bdb9eb630
commit
be6ef076f0
3 changed files with 6 additions and 6 deletions
|
@ -314,8 +314,8 @@ To pass in custom props to a swizzled sidebar item, add the optional `customProp
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
type: 'doc';
|
type: 'doc',
|
||||||
id: 'doc1';
|
id: 'doc1',
|
||||||
customProps: {
|
customProps: {
|
||||||
/* props */
|
/* props */
|
||||||
}
|
}
|
||||||
|
|
|
@ -314,8 +314,8 @@ To pass in custom props to a swizzled sidebar item, add the optional `customProp
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
type: 'doc';
|
type: 'doc',
|
||||||
id: 'doc1';
|
id: 'doc1',
|
||||||
customProps: {
|
customProps: {
|
||||||
/* props */
|
/* props */
|
||||||
}
|
}
|
||||||
|
|
|
@ -314,8 +314,8 @@ To pass in custom props to a swizzled sidebar item, add the optional `customProp
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
type: 'doc';
|
type: 'doc',
|
||||||
id: 'doc1';
|
id: 'doc1',
|
||||||
customProps: {
|
customProps: {
|
||||||
/* props */
|
/* props */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue