mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable LTI in react-native
Summary: Changelog: [Internal] Reviewed By: panagosg7 Differential Revision: D41788271 fbshipit-source-id: 8e40dc3279ee0283b2845b9559a80862fdf59a17
This commit is contained in:
committed by
Facebook GitHub Bot
parent
62a28e4bdb
commit
ccefad049a
@@ -115,22 +115,7 @@ class SampleTurboModuleExample extends React.Component<{||}, State> {
|
||||
}));
|
||||
}
|
||||
|
||||
_renderResult(
|
||||
name:
|
||||
| 'callback'
|
||||
| 'getArray'
|
||||
| 'getBool'
|
||||
| 'getConstants'
|
||||
| 'getNumber'
|
||||
| 'getObject'
|
||||
| 'getRootTag'
|
||||
| 'getString'
|
||||
| 'getUnsafeObject'
|
||||
| 'getValue'
|
||||
| 'promise'
|
||||
| 'rejectPromise'
|
||||
| 'voidFunc',
|
||||
): React.Node {
|
||||
_renderResult(name: string): React.Node {
|
||||
const result = this.state.testResults[name] || {};
|
||||
return (
|
||||
<View style={styles.result}>
|
||||
|
||||
Reference in New Issue
Block a user