API Reference@grafana/ui › SegmentSelect

SegmentSelect() function

SegmentSelect() function

Signature

export declare function SegmentSelect<T>({ value, options, onChange, onClickOutside, width, noOptionsMessage, allowCustomValue, ...rest }: React.PropsWithChildren<Props<T>>): JSX.Element;

Import

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

Parameters

Parameter Type Description
{ value, options, onChange, onClickOutside, width, noOptionsMessage, allowCustomValue, …rest } React.PropsWithChildren<Props<T>>

Returns:

JSX.Element