mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-13 07:31:07 +00:00
Bump dev, apply JSX rules (#301)
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
))
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user