Creates a new separator from API data.
Optional
data: Partial<APISeparatorComponent>The API data to create this separator with
Clears the id of this component, defaulting to a default incremented id.
Clears the spacing of this separator.
Sets whether this separator should show a divider line.
Optional
divider: booleanWhether to show a divider line
Sets the id (not the custom id) for this component.
The id for this component
Sets the spacing of this separator.
The spacing to use
Serializes this builder to API-compatible JSON data.
The base component builder that contains common symbols for all sorts of components.