Skip to content

@line/bot-sdkDocs


@line/bot-sdk / FlexSeparator

Type Alias: FlexSeparator

FlexSeparator: object

This component draws a separator between components in the parent box.

Type declaration

color?

optional color: string

Color of the separator. Use a hexadecimal color code.

margin?

optional margin: string | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl"

Minimum space between this box and the previous component in the parent box.

  • none does not set a space while the other values set a space whose size increases in the order of listing.
  • The default value is the value of the spacing property of the parent box.
  • If this box is the first component in the parent box, the margin property will be ignored.

type

type: "separator"

Defined in

lib/types.ts:1628