Skip to main content

SeparatorComponent

Documentation


Documentation / @discordeno/types / SeparatorComponent

Interface: SeparatorComponent

Defined in: discordeno/components.ts:399

https://docs.discord.com/developers/components/reference#separator

Extends

Properties

divider?

optional divider?: boolean

Defined in: discordeno/components.ts:403

Whether a visual divider should be displayed in the component. Defaults to true


id?

optional id?: number

Defined in: discordeno/components.ts:42

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


spacing?

optional spacing?: SeparatorSpacingSize

Defined in: discordeno/components.ts:405

Size of separator padding — 1 for small padding, 2 for large padding. Defaults to 1


type

type: Separator

Defined in: discordeno/components.ts:400

The type of the component

Overrides

BaseComponent.type