ワンクリックで
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()
}