From 1caa01437c00f80778a737b61b67becba2a497a0 Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Sat, 16 Sep 2023 08:14:35 -0400 Subject: [PATCH] Add detail about using your first component --- docs/BUILD-COMPONENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/BUILD-COMPONENTS.md b/docs/BUILD-COMPONENTS.md index 3035bc0..a8919d4 100644 --- a/docs/BUILD-COMPONENTS.md +++ b/docs/BUILD-COMPONENTS.md @@ -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.