@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
9 lines • 329 B
TypeScript
import React from "react";
/**
* Use this to wrap your component and pass it a function "remountMe" as a prop
* that simply remounts the component.
* */
export default function withRemountableWrapper<T>(Component: React.FC<T & {
remountMe: () => void;
}>): React.FC<T>;
//# sourceMappingURL=withRemountableWrapper.d.ts.map