diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 4155378988fee74cc8e853a2e48122e4f5d57e43..e4089f33990dc4c490768269d9ab33b34a661468 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -199,6 +199,28 @@ declare interface InputCounterOptions { * @arkts 1.1&1.2 */ highlightBorder?: boolean; + + /** + * It is the color of counter when textField hasn't wanted to exceed the maximum character count. + * + * @type { ?Color } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + counterTextColor?: Color; + + /** + * It is the color of counter when textField wants exceed the maximum character count. + * + * @type { ?Color } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + counterTextOverflowColor?: Color; } /**