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
@@ -37,7 +37,7 @@ class WithLabel extends React.Component<$FlowFixMeProps> {
|
||||
}
|
||||
}
|
||||
|
||||
class TextEventsExample extends React.Component<{}, $FlowFixMeState> {
|
||||
class TextEventsExample extends React.Component<{...}, $FlowFixMeState> {
|
||||
state = {
|
||||
curText: '<No Event>',
|
||||
prevText: '<No Event>',
|
||||
@@ -99,7 +99,7 @@ class TextEventsExample extends React.Component<{}, $FlowFixMeState> {
|
||||
}
|
||||
}
|
||||
|
||||
class TextInputAccessoryViewExample extends React.Component<{}, *> {
|
||||
class TextInputAccessoryViewExample extends React.Component<{...}, *> {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {text: 'Placeholder Text'};
|
||||
@@ -306,7 +306,7 @@ class TokenizedTextExample extends React.Component<$FlowFixMeProps, any> {
|
||||
}
|
||||
}
|
||||
|
||||
class BlurOnSubmitExample extends React.Component<{}> {
|
||||
class BlurOnSubmitExample extends React.Component<{...}> {
|
||||
focusNextField = nextField => {
|
||||
this.refs[nextField].focus();
|
||||
};
|
||||
@@ -367,6 +367,7 @@ type SelectionExampleState = {
|
||||
end?: number,
|
||||
|}>,
|
||||
value: string,
|
||||
...
|
||||
};
|
||||
|
||||
class SelectionExample extends React.Component<
|
||||
|
||||
Reference in new issue
Block a user