File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -605,6 +605,11 @@ export type FlexBox = {
605
605
* If this box is the first component in the parent box, the `margin` property will be ignored.
606
606
*/
607
607
margin ?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" ;
608
+ /**
609
+ * Action performed when this button is tapped.
610
+ * Specify an [action object](https://developers.line.me/en/reference/messaging-api/#action-objects).
611
+ */
612
+ action ?: Action ;
608
613
} ;
609
614
610
615
/**
@@ -912,6 +917,12 @@ export type FlexText = {
912
917
* If set to `true`, you can use a new line character (\n) to begin on a new line.
913
918
*/
914
919
wrap ?: boolean ;
920
+ /**
921
+ * Max number of lines. If the text does not fit in the specified number of lines,
922
+ * an ellipsis (…) is displayed at the end of the last line.
923
+ * If set to 0, all the text is displayed. The default value is 0.
924
+ */
925
+ maxLines ?: number ;
915
926
/**
916
927
* Font weight.
917
928
* Specifying `bold`makes the font bold.
You can’t perform that action at this time.
0 commit comments