unicorn-demo-app 6.3.1 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/assets/images/placeholderMissingImage.png +0 -0
- package/src/assets/images/placeholderMissingImage@1.5x.png +0 -0
- package/src/assets/images/placeholderMissingImage@2x.png +0 -0
- package/src/assets/images/placeholderMissingImage@3x.png +0 -0
- package/src/assets/images/placeholderMissingImage@4x.png +0 -0
- package/src/screens/componentScreens/ButtonsScreen.tsx +6 -0
- package/src/screens/componentScreens/{TextScreen.js → TextScreen.tsx} +6 -3
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -383,6 +383,12 @@ export default class ButtonsScreen extends Component {
|
|
|
383
383
|
style={{marginBottom: ButtonSpace}}
|
|
384
384
|
/>
|
|
385
385
|
|
|
386
|
+
<Button
|
|
387
|
+
label="hyperlink button"
|
|
388
|
+
hyperlink
|
|
389
|
+
style={{marginBottom: ButtonSpace}}
|
|
390
|
+
/>
|
|
391
|
+
|
|
386
392
|
<Button label="Icon on right" iconSource={plusIcon} iconOnRight />
|
|
387
393
|
</View>
|
|
388
394
|
|
|
@@ -3,9 +3,8 @@ import {Animated, ScrollView} from 'react-native';
|
|
|
3
3
|
import {View, Text, Colors} from 'react-native-ui-lib';
|
|
4
4
|
|
|
5
5
|
class TextScreen extends Component {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
animatedValue = new Animated.Value(0);
|
|
6
|
+
private toggle = false;
|
|
7
|
+
private animatedValue = new Animated.Value(0);
|
|
9
8
|
|
|
10
9
|
animate = () => {
|
|
11
10
|
this.toggle = !this.toggle;
|
|
@@ -64,6 +63,9 @@ class TextScreen extends Component {
|
|
|
64
63
|
<Text uppercase text70>
|
|
65
64
|
uppercase
|
|
66
65
|
</Text>
|
|
66
|
+
<Text underline text70>
|
|
67
|
+
underline
|
|
68
|
+
</Text>
|
|
67
69
|
</View>
|
|
68
70
|
{this.renderDivider()}
|
|
69
71
|
|
|
@@ -89,6 +91,7 @@ class TextScreen extends Component {
|
|
|
89
91
|
<Text
|
|
90
92
|
text70
|
|
91
93
|
animated
|
|
94
|
+
// @ts-expect-error
|
|
92
95
|
style={{transform: [{scale: this.animatedValue.interpolate({inputRange: [0, 1], outputRange: [1, 2]})}]}}
|
|
93
96
|
onPress={this.animate}
|
|
94
97
|
>
|