Interface HookProvider

An interface to be implemented by objects that initialize Hook objects.

interface HookProvider {
    init: ((props) => Promise<Hook>);
    type: string;
}

Properties

Properties

init: ((props) => Promise<Hook>)

Initialize a hook.

Type declaration

type: string

The name of the hook that this provider initializes.

Generated using TypeDoc