Compose
1. Create your ComponentPropertyClass with properties that you need
@JsonIgnoreProperties(ignoreUnknown = true)
@Immutable
@Stable
data class CheckBoxProperties(
@JsonProperty("text") val text: String? = null,
... define your properties here
)
2. Add your Component json object in Dymanic.json
{
"key": "CraftDCheckBox",
"value": {
... define your properties here
}
}
3. Create your Component
4. Create your Component Builder
5. In your screen you can add the builder inside of CraftBuilderManager
So now enjoy your component!!!
Last updated