Segment() function
Segment() function
Signature
export declare function Segment<T>({ options, value, onChange, Component, className, allowCustomValue, allowEmptyValue, placeholder, disabled, inputMinWidth, inputPlaceholder, onExpandedChange, autofocus, ...rest }: React.PropsWithChildren<SegmentSyncProps<T>>): JSX.Element;
Import
import { Segment } from '@grafana/ui';
Parameters
Parameter | Type | Description |
---|---|---|
{ options, value, onChange, Component, className, allowCustomValue, allowEmptyValue, placeholder, disabled, inputMinWidth, inputPlaceholder, onExpandedChange, autofocus, …rest } | React.PropsWithChildren<SegmentSyncProps<T>> |
Returns:
JSX.Element