unicorn-demo-app 7.17.2 → 7.18.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unicorn-demo-app",
3
- "version": "7.17.2",
3
+ "version": "7.18.0",
4
4
  "main": "src/index.js",
5
5
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
6
6
  "license": "MIT",
@@ -13,7 +13,8 @@ export default class FloatingButtonScreen extends Component<{}, State> {
13
13
  state = {
14
14
  showButton: true,
15
15
  showSecondary: true,
16
- showVertical: true
16
+ showVertical: true,
17
+ fullWidth: false
17
18
  };
18
19
 
19
20
  notNow = () => {
@@ -34,6 +35,7 @@ export default class FloatingButtonScreen extends Component<{}, State> {
34
35
  Trigger Floating Button
35
36
  </Text>
36
37
  {renderBooleanOption.call(this, 'Show Floating Button', 'showButton')}
38
+ {renderBooleanOption.call(this, 'Full Width Button', 'fullWidth')}
37
39
  {renderBooleanOption.call(this, 'Show Secondary Button', 'showSecondary')}
38
40
  {renderBooleanOption.call(this, 'Button Layout Vertical', 'showVertical')}
39
41
 
@@ -64,6 +66,7 @@ export default class FloatingButtonScreen extends Component<{}, State> {
64
66
 
65
67
  <FloatingButton
66
68
  visible={this.state.showButton}
69
+ fullWidth={this.state.fullWidth}
67
70
  button={{
68
71
  label: 'Approve',
69
72
  onPress: this.close