mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
Chore: omit allowCustomValue and allowEmptyValue (#55352)
This commit is contained in:
parent
cd7a464f7e
commit
e73a85dfb5
@ -10,7 +10,9 @@ import { getSegmentStyles } from './styles';
|
||||
|
||||
import { useExpandableLabel, SegmentProps } from '.';
|
||||
|
||||
export interface SegmentInputProps<T> extends SegmentProps<T>, Omit<HTMLProps<HTMLInputElement>, 'value' | 'onChange'> {
|
||||
export interface SegmentInputProps<T>
|
||||
extends Omit<SegmentProps<T>, 'allowCustomValue' | 'allowEmptyValue'>,
|
||||
Omit<HTMLProps<HTMLInputElement>, 'value' | 'onChange'> {
|
||||
value: string | number;
|
||||
onChange: (text: string | number) => void;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user