@toloka-dev/tbx-external-field-client
Version:
Library designed to facilitate communication and configuration management between TBX and an external app
12 lines (9 loc) • 401 B
TypeScript
import { Theme, AsyncApi, ExternalFieldClientParentApi } from '../types.js';
declare const useExternalFieldConnection: <Value = any, Config extends Record<string, unknown> = Record<string, unknown>>() => {
theme: Theme;
error: Error | null;
api: AsyncApi<ExternalFieldClientParentApi> | null;
value: Value | null;
config: Config | null;
};
export { useExternalFieldConnection };