You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
403 B
13 lines
403 B
/// <reference types="react" /> |
|
import { ComponentClass, StatelessComponent } from 'react'; |
|
export interface Wrapper { |
|
(type: string): string; |
|
} |
|
export interface Selector<P, S> { |
|
(state: P): S; |
|
} |
|
declare var _default: <P, S>(EnhanceableComponent: ComponentClass<any> | StatelessComponent<any>) => ComponentClass<{ |
|
wrapper: Wrapper; |
|
selector: Selector<P, S>; |
|
}>; |
|
export default _default;
|
|
|