UNPKG

@line/bot-sdk

Version:
38 lines 1.16 kB
/** * LINE Messaging API * This document describes LINE Messaging API. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Action } from "./action.js"; import { FlexComponentBase } from "./models.js"; export type FlexButton = FlexComponentBase & { type: "button"; flex?: number; color?: string; style?: FlexButton.StyleEnum; action: Action; gravity?: FlexButton.GravityEnum; margin?: string; position?: FlexButton.PositionEnum; offsetTop?: string; offsetBottom?: string; offsetStart?: string; offsetEnd?: string; height?: FlexButton.HeightEnum; adjustMode?: FlexButton.AdjustModeEnum; scaling?: boolean; }; export declare namespace FlexButton { type StyleEnum = "primary" | "secondary" | "link"; type GravityEnum = "top" | "bottom" | "center"; type PositionEnum = "relative" | "absolute"; type HeightEnum = "md" | "sm"; type AdjustModeEnum = "shrink-to-fit"; } //# sourceMappingURL=flexButton.d.ts.map