GraphiQL API Documentation
    Preparing search index...

    Type Alias SegmentedControlProps<T>

    type SegmentedControlProps<T extends string = string> = {
        ariaLabel?: string;
        onChange: (value: T) => void;
        options: SegmentedControlOption<T>[];
        value: T;
    }

    Type Parameters

    • T extends string = string
    Index
    ariaLabel?: string
    onChange: (value: T) => void
    value: T