mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Exact-by-default codemod for react-native-github
Summary: We are rolling out exact-by-default syntax to xplat/js. I had to manually move around some comments to preserve proper placement. Changelog: [Internal] Reviewed By: jbrown215 Differential Revision: D18633611 fbshipit-source-id: 48f7468dcc55b1d00985419d035a61c6820b3abe
This commit is contained in:
1 parent
1ad0862363
commit
8553e1acc4
205 files changed
+879
-379
No files matched your search
@@ -27,7 +27,7 @@ class Entity extends React.Component<{|children: React.Node|}> {
|
||||
);
|
||||
}
|
||||
}
|
||||
class AttributeToggler extends React.Component<{}, $FlowFixMeState> {
|
||||
class AttributeToggler extends React.Component<{...}, $FlowFixMeState> {
|
||||
state = {fontWeight: 'bold', fontSize: 15};
|
||||
|
||||
toggleWeight = () => {
|
||||
@@ -70,7 +70,7 @@ class AttributeToggler extends React.Component<{}, $FlowFixMeState> {
|
||||
}
|
||||
}
|
||||
|
||||
class TextExample extends React.Component<{}> {
|
||||
class TextExample extends React.Component<{...}> {
|
||||
render(): React.Node {
|
||||
return (
|
||||
<RNTesterPage title="<Text>">
|
||||
|
||||
Reference in new issue
Block a user