mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
fix: undefined
was added to the SelectValue
type (#30068)
* Fix: `undefined` was added to the SelectValue type * fix: `undefined` was added to the SelectValue type
This commit is contained in:
parent
ac78d87c14
commit
a7130187ed
@ -22,7 +22,7 @@ export interface LabeledValue {
|
||||
label: React.ReactNode;
|
||||
}
|
||||
|
||||
export type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[];
|
||||
export type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[] | undefined;
|
||||
|
||||
export interface InternalSelectProps<VT> extends Omit<RcSelectProps<VT>, 'mode'> {
|
||||
suffixIcon?: React.ReactNode;
|
||||
|
Loading…
Reference in New Issue
Block a user