Remove replaceableComponentTs from BridgeTile

This commit is contained in:
Will Hunt
2021-01-08 18:07:48 +00:00
parent 000a69765c
commit 448a5ea42d
2 changed files with 0 additions and 11 deletions
-9
View File
@@ -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;
}