Skip to content

Commit

Permalink
Add detail about using your first component
Browse files Browse the repository at this point in the history
  • Loading branch information
jayohms committed Sep 16, 2023
1 parent 9d350fb commit 1caa014
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/BUILD-COMPONENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,7 @@ val bridgeComponentFactories = listOf(
```

The `name` (`"form"` in this instance) that you give to each component must be unique and match the name of the web component that it corresponds to.

## Using your component

Your component is now ready. Whenever a web `form` component exists on a page in your web app, it'll automatically send messages to your app, a `FormComponent` instance will be created for you, and your component's native code will be invoked.

0 comments on commit 1caa014

Please sign in to comment.