Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
istarkov committed May 20, 2018
1 parent c5bd9e5 commit 3f3ebf8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const Comp2 = () =>
</WithProps>

// $ExpectError cannot create `WithProps` element because property `children` is missing in props
const Comp2 = () => <WithProps x={1} />
const Comp3 = () => <WithProps x={1} />

const Comp3 = () =>
const Comp4 = () =>
<WithProps x={1}>
{({ y, sayHello }) =>
<div
Expand Down

0 comments on commit 3f3ebf8

Please sign in to comment.