Remove replaceableComponentTs from BridgeTile
This commit is contained in:
@@ -38,12 +38,3 @@ export function replaceableComponent(name: string, origComponent: React.Componen
|
||||
// return a falsey value like `null` when the skin doesn't have a component.
|
||||
return () => sdk.getComponent(name) || origComponent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Typescript-compatible version of `replaceableComponent`
|
||||
* @see replaceableComponent
|
||||
* @param {string} name The dot-path name of the component being replaced.
|
||||
*/
|
||||
export function replaceableComponentTs(name: string) {
|
||||
return (origComponent: typeof React.Component) => sdk.getComponent(name) || origComponent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user