@grafana/ui
Version:
Grafana Components Library
13 lines (12 loc) • 347 B
TypeScript
import { ReactElement } from 'react';
export interface SegmentProps {
Component?: ReactElement;
className?: string;
allowCustomValue?: boolean;
placeholder?: string;
disabled?: boolean;
onExpandedChange?: (expanded: boolean) => void;
autofocus?: boolean;
allowEmptyValue?: boolean;
inputPlaceholder?: string;
}