diff --git a/ArkUI/entry/src/main/ets/pages/SetStylesForComponentsInDifferentStates.ets b/ArkUI/entry/src/main/ets/pages/SetStylesForComponentsInDifferentStates.ets index a1bafdb9f40b33a2c5addf42d35ff6e0bd55b8d9..7b4833e5d2d517a09284d6d26b74bde521dc98cf 100644 --- a/ArkUI/entry/src/main/ets/pages/SetStylesForComponentsInDifferentStates.ets +++ b/ArkUI/entry/src/main/ets/pages/SetStylesForComponentsInDifferentStates.ets @@ -20,6 +20,7 @@ // [Start set_styles_for_components_in_different_states] @Component struct PolymorphicStyle { + //Style of the component in the pressed state @Styles pressedStyles() { .backgroundColor('#ED6F21')