Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions learn/react-native/wmx-docs/creating-wmx-widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,7 @@ Name | Description | Required |
---- |-------------|----------|
**name** | Style property name (alphanumeric). | Yes|
**style**| Default style value. | No|

:::tip React Native only
In the generated app, WaveMaker passes **`root`** and **`text`** to your component, plus any keys you add under the **`styles`** section in `wmx.json` (for example `container`). Apply **`root`** to your widget’s **outermost** view so **Show** in Studio and outer layout behave like built-in widgets. Those custom keys are in addition to `root`; they do not replace it.
:::