API Reference@grafana/ui › SegmentAsync

SegmentAsync() function

SegmentAsync() function

Signature

export declare function SegmentAsync<T>({ value, onChange, loadOptions, Component, className, allowCustomValue, placeholder, }: React.PropsWithChildren<SegmentAsyncProps<T>>): JSX.Element;

Import

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

Parameters

Parameter Type Description
{ value, onChange, loadOptions, Component, className, allowCustomValue, placeholder, } React.PropsWithChildren<SegmentAsyncProps<T>>

Returns:

JSX.Element