This repository has been archived by the owner on Sep 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d64b215
commit 8ac03f1
Showing
5 changed files
with
49 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
transforms/__testfixtures__/url-to-withrouter/url-property-not-part-of-this-props.input.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const examples = [{ name: 'ex1', url: 'https://google.fr/' }] | ||
|
||
export default () => ( | ||
<div> | ||
{examples.map(example => ( | ||
<div key={example.name}> | ||
{example.name} - {example.url} | ||
</div> | ||
))} | ||
</div> | ||
) |
11 changes: 11 additions & 0 deletions
11
transforms/__testfixtures__/url-to-withrouter/url-property-not-part-of-this-props.output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const examples = [{ name: 'ex1', url: 'https://google.fr/' }] | ||
|
||
export default () => ( | ||
<div> | ||
{examples.map(example => ( | ||
<div key={example.name}> | ||
{example.name} - {example.url} | ||
</div> | ||
))} | ||
</div> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters