mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 18:59:17 +00:00
Rename decorator for clarity
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user