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