fix: Add interface for Option props. (#24870)

* nitinknolder:export option props

* Add interface for option props in select component

* resolve pr comment
This commit is contained in:
nitinknolder 2020-06-10 08:30:01 +05:30 committed by GitHub
parent 9a6c2f667a
commit b2c359cb34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,15 @@ import * as React from 'react';
import omit from 'omit.js';
import classNames from 'classnames';
import RcSelect, { Option, OptGroup, SelectProps as RcSelectProps } from 'rc-select';
import { OptionProps } from 'rc-select/lib/Option';
import { ConfigConsumer, ConfigConsumerProps } from '../config-provider';
import getIcons from './utils/iconUtil';
import SizeContext, { SizeType } from '../config-provider/SizeContext';
type RawValue = string | number;
export { OptionProps };
export type OptionType = typeof Option;
export interface LabeledValue {