UNPKG

@openocean.finance/widget

Version:

Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

12 lines (11 loc) 434 B
import type { FormFieldNames } from './types.js'; interface UseFieldControllerProps { name: FormFieldNames; } export declare const useFieldController: ({ name }: UseFieldControllerProps) => { onChange: (newValue: string | number | undefined) => void; onBlur: () => void; name: keyof import("./types.js").DefaultValues; value: string | number | import("@openocean.finance/widget-sdk").ContractCall[]; }; export {};