Skip to content

Commit

Permalink
Remove duplicated interfaces (#575)
Browse files Browse the repository at this point in the history
Those interfaces are added in
#141 and still remains.
  • Loading branch information
Masato Ohba authored and jaredpalmer committed Apr 10, 2018
1 parent 095e915 commit b72382e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/types.ts
@@ -1,19 +1,5 @@
import * as React from 'react';

export type CompositeComponent<P> =
| React.ComponentClass<P>
| React.StatelessComponent<P>;

export interface ComponentDecorator<TOwnProps, TMergedProps> {
(component: CompositeComponent<TMergedProps>): React.ComponentClass<
TOwnProps
>;
}

export interface InferableComponentDecorator<TOwnProps> {
<T extends CompositeComponent<TOwnProps>>(component: T): T;
}

export interface SharedRenderProps<T> {
/**
* Field component to render. Can either be a string like 'select' or a component.
Expand Down

0 comments on commit b72382e

Please sign in to comment.