0.3.2 • Published 1 year ago

@wise/dynamic-flow v0.3.2

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

@wise/dynamic-flow

A wrapper to use @transferwise/dynamic-flows in a non-React codebase.

Usage

import { startDynamicFlow } from '@wise/dynamic-flow';

const container = document.getElementById('dynamic-flow-container');

const props = {
  flowUrl: 'https://wise.com/some-dfv3-flow',
  fetcher: fetch,
};

const locale = : 'en-GB';

startDynamicFlow({ container, props, locale })
  .then(result => {
    console.log(result);
  })
  .catch(error => {
    console.error(error);
  });
0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago