mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[react-select] Export component props. (#36799)
* [react-select] Export AsyncCreatable component props. * Update types/react-select/src/AsyncCreatable.d.ts Co-Authored-By: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
parent
e371bd134f
commit
f55591b9e2
1
types/react-select/index.d.ts
vendored
1
types/react-select/index.d.ts
vendored
@ -3,6 +3,7 @@
|
||||
// Definitions by: Claas Ahlrichs <https://github.com/claasahl>
|
||||
// Jon Freedman <https://github.com/jonfreedman>
|
||||
// Nathan Bierema <https://github.com/Methuselah96>
|
||||
// Thomas Chia <https://github.com/thchia>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.9
|
||||
|
||||
|
||||
4
types/react-select/src/AsyncCreatable.d.ts
vendored
4
types/react-select/src/AsyncCreatable.d.ts
vendored
@ -4,9 +4,9 @@ import { Props as CreatableProps, State as CreatableState } from './Creatable';
|
||||
import { OptionsType, ValueType, ActionMeta, InputActionMeta } from './types';
|
||||
import { cleanValue } from './utils';
|
||||
|
||||
type Props<OptionType> = AsyncProps<OptionType> & CreatableProps<OptionType>;
|
||||
export type Props<OptionType> = AsyncProps<OptionType> & CreatableProps<OptionType>;
|
||||
|
||||
type State<OptionType> = AsyncState<OptionType> & CreatableState<OptionType>;
|
||||
export type State<OptionType> = AsyncState<OptionType> & CreatableState<OptionType>;
|
||||
|
||||
export class AsyncCreatable<OptionType> extends Component<Props<OptionType>, State<OptionType>> {
|
||||
static defaultProps: Props<any>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user