module Line::Message::Builder::Flex::Size::Shared
Provides a common size option for components like Text, Icon, and Span. This allows setting size using standard keywords or explicit pixel values.
Public Instance Methods
Source
# File lib/line/message/builder/flex/size.rb, line 74
Sets or gets the size of the component (e.g., text font size).
- value
-
Component size. Can be keywords like
:xxs,:xs,:sm,:md,:lg,:xl,:xxl,:3xl,:4xl,:5xl, or a string like"16px".