@samatawy/diagrams
    Preparing search index...

    Interface SizeSelectConfig

    Configuration options for the SizeSelect control. Provide only the properties you want to customize. All other properties will use default values.

    interface SizeSelectConfig {
        sizes?: number[];
        unit?: string;
        showLabel?: boolean;
        hostClassName?: string;
        triggerClassName?: string;
        menuClassName?: string;
        optionClassName?: string;
        previewClassName?: string;
        labelClassName?: string;
        selectedClassName?: string;
        openClassName?: string;
    }
    Index

    Properties

    sizes?: number[]

    Optional array of sizes to display in the dropdown. If not provided, a default set of sizes will be used.

    unit?: string

    Optional unit to display next to the size values (e.g., 'px', 'pt'). Defaults to 'px'.

    showLabel?: boolean

    Whether to show the unit label next to the size values. Defaults to true.

    hostClassName?: string

    Optional CSS class name to apply to the host element of the SizeSelect control. This allows for custom styling.

    triggerClassName?: string

    Optional CSS class name to apply to the trigger button of the SizeSelect control. This allows for custom styling.

    menuClassName?: string

    Optional CSS class name to apply to the dropdown menu of the SizeSelect control. This allows for custom styling.

    optionClassName?: string

    Optional CSS class name to apply to each option in the dropdown menu. This allows for custom styling.

    previewClassName?: string

    Optional CSS class name to apply to the preview element that shows the selected size. This allows for custom styling.

    labelClassName?: string

    Optional CSS class name to apply to the label element that shows the unit. This allows for custom styling.

    selectedClassName?: string

    Optional CSS class name to apply to the selected option. This allows for custom styling.

    openClassName?: string

    Optional CSS class name to apply when the dropdown is open. This allows for custom styling.