Rename decorator for clarity
This commit is contained in:
parent
20a615396b
commit
0a9985fb48
2 changed files with 3 additions and 3 deletions
|
@ -17,6 +17,6 @@ limitations under the License.
|
|||
import React from 'react';
|
||||
import sdk from '../index';
|
||||
|
||||
export function replaceComponent(name: string, origComponent: React.Component) {
|
||||
export function replaceableComponent(name: string, origComponent: React.Component) {
|
||||
return () => sdk.getComponent(name) || origComponent;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue