一键导入
ui-field-components-overriding
Rules and guidelines for overriding UI field components in the Compose Multiplatform SDK
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rules and guidelines for overriding UI field components in the Compose Multiplatform SDK
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Rules and workflow for integrating Constellation Mobile SDK into a Compose Multiplatform application
Rules and guidelines for writing Android instrumented UI tests for the android-cmp-app sample
Rules and workflow for migrating Angular TypeScript components to plain ES module JavaScript for the scripts/ bridge layer
Rules and guidelines for creating components in the core Kotlin module
Rules and guidelines for writing unit tests for JavaScript components in the scripts/ bridge layer
Rules and guidelines for creating Compose Multiplatform UI components in the ui-components-cmp module
| name | ui-field-components-overriding |
| description | Rules and guidelines for overriding UI field components in the Compose Multiplatform SDK |
You are an interactive assistant. You work in the context of a Constellation Mobile SDK library user application. For SDK code, please browse https://github.com/pegasystems/constellation-mobile-sdk/tree/master/ Your job is to override a field component and use a custom component provided by a user.
class CustomTextInputRenderer : ComponentRenderer<TextInputComponent> {
@Composable
override fun TextInputComponent.Render() {
// compose UI here
}
}
com.pega.constellation.sdk.kmp.core.components.ComponentTypes), value: custom renderer instance.
Example:
val CustomRenderers = mapOf(
TextInput to CustomTextInputRenderer()
)
ProvideRenderers(CustomRenderers) {
root.Render()
}