diff --git a/api/@internal/component/ets/text_input.d.ts b/api/@internal/component/ets/text_input.d.ts index c8501c2c148cf5a2f02906704a034b2ea7649542..a6c94e2e15cc69935ec248215901ff8a3dea65bd 100644 --- a/api/@internal/component/ets/text_input.d.ts +++ b/api/@internal/component/ets/text_input.d.ts @@ -126,6 +126,24 @@ declare interface TextInputOptions { controller?: TextInputController; } +/** + * Text input style. + * @since 9 + */ +declare enum TextInputStyle { + /** + * Text input default style. + * @since 9 + */ + Default, + + /** + * Text input inline style. + * @since 9 + */ + Inline +} + /** * Provides a single-line text input component interface. * @since 7 @@ -275,6 +293,12 @@ declare class TextInputAttribute extends CommonMethod { * @since 9 */ textAlign(value: TextAlign): TextInputAttribute; + + /** + * Text input style + * @since 9 + */ + style(value: TextInputStyle): TextInputAttribute; } declare const TextInput: TextInputInterface;