mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +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:
committed by
Sheetal Nandi
co-authored by
Nathan Bierema
parent
e371bd134f
commit
f55591b9e2
Vendored
+1
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user