seyfert
    Preparing search index...

    Class Separator

    Represents a separator component builder. Used to add visual spacing or dividers between components.

    // A simple separator for spacing
    const spacingSeparator = new Separator().setSpacing(Spacing.Small);

    // A separator acting as a visual divider
    const dividerSeparator = new Separator().setDivider(true);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    data: Partial<TYPE> = {}

    Methods

    • Sets whether this separator should act as a visual divider.

      Parameters

      • divider: boolean = false

        Whether to render as a divider (defaults to false).

      Returns Separator

      The updated Separator instance.

    • Sets the amount of spacing this separator provides.

      Parameters

      • spacing: Spacing

        The desired spacing level ('None', 'Small', 'Medium', 'Large').

      Returns Separator

      The updated Separator instance.