forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformat code using new refmt (facebook#263)
- Loading branch information
Showing
187 changed files
with
1,616 additions
and
1,681 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export {reactClass as default} from './lib/js/src/RNTesterApp.js'; | ||
export { reactClass as default } from './lib/js/src/RNTesterApp.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
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
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
let renderExample = (i, {title, description, render}: Example.t) => | ||
<RNTesterBlock key=(string_of_int(i)) title description> | ||
(render()) | ||
<RNTesterBlock key={string_of_int(i)} title description> | ||
{render()} | ||
</RNTesterBlock>; | ||
|
||
let component = ReasonReact.statelessComponent("RNTesterExampleContainer"); | ||
|
||
let make = (~example: ExampleList.item, _children) => { | ||
...component, | ||
render: _self => | ||
<RNTesterPage title=example.title> | ||
(ReasonReact.array(Array.mapi(renderExample, example.examples))) | ||
<RNTesterPage title={example.title}> | ||
{ReasonReact.array(Array.mapi(renderExample, example.examples))} | ||
</RNTesterPage>, | ||
}; | ||
}; |
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
Oops, something went wrong.