UNPKG

1.39 kBTypeScriptView Raw
1/**
2 * LINE Messaging API
3 * This document describes LINE Messaging API.
4 *
5 * The version of the OpenAPI document: 0.0.1
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12import { Action } from "./action.js";
13import { FlexComponentBase } from "./models.js";
14export type FlexButton = FlexComponentBase & {
15 type: "button";
16 /**
17 */
18 flex?: number;
19 /**
20 */
21 color?: string;
22 /**
23 */
24 style?: FlexButton.StyleEnum;
25 /**
26 */
27 action: Action;
28 /**
29 */
30 gravity?: FlexButton.GravityEnum;
31 /**
32 */
33 margin?: string;
34 /**
35 */
36 position?: FlexButton.PositionEnum;
37 /**
38 */
39 offsetTop?: string;
40 /**
41 */
42 offsetBottom?: string;
43 /**
44 */
45 offsetStart?: string;
46 /**
47 */
48 offsetEnd?: string;
49 /**
50 */
51 height?: FlexButton.HeightEnum;
52 /**
53 */
54 adjustMode?: FlexButton.AdjustModeEnum;
55 /**
56 */
57 scaling?: boolean;
58};
59export declare namespace FlexButton {
60 type StyleEnum = "primary" | "secondary" | "link";
61 type GravityEnum = "top" | "bottom" | "center";
62 type PositionEnum = "relative" | "absolute";
63 type HeightEnum = "md" | "sm";
64 type AdjustModeEnum = "shrink-to-fit";
65}
66//# sourceMappingURL=flexButton.d.ts.map
\No newline at end of file