Bump dev, apply JSX rules (#301)

This commit is contained in:
Jaco Greeff
2020-04-01 13:18:28 +02:00
committed by GitHub
parent cd5a881f32
commit 371262d056
18 changed files with 344 additions and 278 deletions
+9 -3
View File
@@ -105,11 +105,17 @@ export default function App (): React.ReactElement<{}> | null {
<Text style={styles.mainTitle}>React-Native Example</Text>
</View>
<View style={styles.sectionContainer}>
<Button title='Generate Address' onPress={_onClickNew}></Button>
<Button
onPress={_onClickNew}
title='Generate Address'
/>
</View>
<View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>Phrase</Text>
<Text selectable={true} style={styles.sectionDescription}>
<Text
selectable={true}
style={styles.sectionDescription}
>
{phrase}
</Text>
</View>
@@ -129,8 +135,8 @@ export default function App (): React.ReactElement<{}> | null {
.map(({ text, value }): React.ReactNode => (
<Button
key={value}
title={text}
onPress={(): void => _onChangeSS58Format(value.toString())}
title={text}
/>
))
}
+3 -3
View File
@@ -40,9 +40,9 @@
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/runtime": "^7.9.2",
"@polkadot/keyring": "^2.7.0-beta.8",
"@polkadot/util": "^2.7.0-beta.8",
"@polkadot/util-crypto": "^2.7.0-beta.8",
"@polkadot/keyring": "^2.7.1",
"@polkadot/util": "^2.7.1",
"@polkadot/util-crypto": "^2.7.1",
"@react-native-community/cli-platform-ios": "^4.3.0",
"@types/react-test-renderer": "16.9.2",
"babel-jest": "^25.1.0",