UNPKG

swagger-editor

Version:

- [Anonymized analytics](#anonymized-analytics) - [Getting started](#getting-started) - [Prerequisites](#prerequisites) - [Installation](#installation) - [Usage](#usage) - [Development](#development) - [Prerequisites](#prerequisites) - [Setting

29 lines (28 loc) 861 B
/** * This plugin is meant to be utilized via the `useMountPlugin` hook. */ declare const PropsChangeWatcherPlugin: { (): { statePlugins: { editor: { actions: { propChanged: import("./actions").PropChangedAction; }; }; }; }; usePropChange: (prop: unknown, callback: (newValue: unknown, oldValue: unknown) => void) => void; useMountPlugin: () => { plugin(sys: import("../../types/system").System): { statePlugins: { editor: { actions: { propChanged: import("./actions").PropChangedAction; }; }; }; }; getSystem(): import("../../types/system").SystemValues; }; }; export default PropsChangeWatcherPlugin;