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 = {
605605 * If this box is the first component in the parent box, the `margin` property will be ignored.
606606 */
607607 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 ;
608613} ;
609614
610615/**
@@ -912,6 +917,12 @@ export type FlexText = {
912917 * If set to `true`, you can use a new line character (\n) to begin on a new line.
913918 */
914919 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 ;
915926 /**
916927 * Font weight.
917928 * Specifying `bold`makes the font bold.
You can’t perform that action at this time.
0 commit comments