Skip to content

Commit

Permalink
Component prop should be optional (#2769)
Browse files Browse the repository at this point in the history
* Quick fixes for typing errors on: error TS2411

* Component should be optional
  • Loading branch information
bradjohns0n authored and aksonov committed Feb 6, 2018
1 parent 67ba6f4 commit 0d528d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export var Scene: SceneStatic;
export type Scene = SceneStatic;
interface SceneProps extends React.Props<Scene> {
key: string;
component: React.ComponentType<any>
component?: React.ComponentType<any>
back?: boolean;
init?: boolean;
clone?: boolean;
Expand Down

0 comments on commit 0d528d8

Please sign in to comment.