Using your custom component in a flow

Creating your own custom component is fairly straightforward. Here is how you can use a custom component in a flow.

  1. Build a page in a flow, and add an element to the page as a placeholder for the custom component.
  2. Set the attributes of the element to be passed to the custom component (Width, Height etc.).
  3. Assign the data and state values to be passed to the custom component, and the value to be updated on Save.
  4. Set the custom component type on the element.