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.

7 lines 358 B
import { useFormStore } from './useFormStore.js'; // We should return a strongly-typed array based on the specific field names we pass to the function. export const useFieldValues = (...names) => { const values = useFormStore((store) => names.map((name) => store.userValues[name]?.value)); return values; }; //# sourceMappingURL=useFieldValues.js.map