Chore: omit allowCustomValue and allowEmptyValue (#55352)
This commit is contained in:
1 parent
cd7a464f7e
commit
e73a85dfb5
1 file changed
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user