UNPKG

@lifi/widget

Version:

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

12 lines (11 loc) 426 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("@lifi/sdk").ContractCall[] | undefined; }; export {};