Browse Source

fix(docs): correct plugin api typo (#4138)

bubble
Can Taşdemir 6 years ago
committed by kyle
parent
commit
c28213d457
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/customization/plugin-api.md

+ 2
- 2
docs/customization/plugin-api.md View File

@@ -334,7 +334,7 @@ const MyWrapComponentPlugin = function(system) {
if(props.number > 10) {
return <div>
<h3>Warning! Big number ahead.</h3>
<OriginalComponent {...props} />
<Original {...props} />
</div>
} else {
return <Original {...props} />
@@ -353,7 +353,7 @@ const MyWrapComponentPlugin = function(system) {
if(props.number > 10) {
return <div>
<h3>Warning! Big number ahead.</h3>
<OriginalComponent {...props} />
<Original {...props} />
</div>
} else {
return <Original {...props} />


Loading…
Cancel
Save