+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "SegmentAsync" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++ ## SegmentAsync() function ### SegmentAsync() function Signature ```typescript export declare function SegmentAsync({ value, onChange, loadOptions, Component, className, allowCustomValue, placeholder, }: React.PropsWithChildren>): JSX.Element; ``` Import ```typescript import { SegmentAsync } from '@grafana/ui'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | { value, onChange, loadOptions, Component, className, allowCustomValue, placeholder, } | React.PropsWithChildren<SegmentAsyncProps<T>> | | Returns: `JSX.Element`