SegmentAsync() function

SegmentAsync() function

Signature

  1. export declare function SegmentAsync<T>({ value, onChange, loadOptions, reloadOptionsOnChange, Component, className, allowCustomValue, allowEmptyValue, disabled, placeholder, inputMinWidth, inputPlaceholder, autofocus, onExpandedChange, noOptionMessageHandler, ...rest }: React.PropsWithChildren<SegmentAsyncProps<T>>): JSX.Element;

Import

  1. import { SegmentAsync } from '@grafana/ui';

Parameters

ParameterTypeDescription
{ value, onChange, loadOptions, reloadOptionsOnChange, Component, className, allowCustomValue, allowEmptyValue, disabled, placeholder, inputMinWidth, inputPlaceholder, autofocus, onExpandedChange, noOptionMessageHandler, …rest }React.PropsWithChildren<SegmentAsyncProps<T>>

Returns:

JSX.Element