summaryrefslogtreecommitdiffhomepage
path: root/app/components/styled/CellButton.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-02-16 14:11:34 +0100
committerAndrej Mihajlov <and@mullvad.net>2018-02-20 17:48:28 +0100
commit2c741a45b85ec334c6c09be01f3062065c998265 (patch)
treedea0731722ebbde98157f2798d3f33c41f2ded08 /app/components/styled/CellButton.js
parentf58b1790b50abf340d8567b23b329ee9c0c14e3b (diff)
downloadmullvadvpn-2c741a45b85ec334c6c09be01f3062065c998265.tar.xz
mullvadvpn-2c741a45b85ec334c6c09be01f3062065c998265.zip
Fix flow annotations to work on flow v0.66
Diffstat (limited to 'app/components/styled/CellButton.js')
-rw-r--r--app/components/styled/CellButton.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/components/styled/CellButton.js b/app/components/styled/CellButton.js
index fe3042709a..064c28ca2c 100644
--- a/app/components/styled/CellButton.js
+++ b/app/components/styled/CellButton.js
@@ -1,5 +1,6 @@
// @flow
-import React from 'react';
+
+import * as React from 'react';
import { Text, Component } from 'reactxp';
import { Button } from './Button';
import { colors } from '../../config';
@@ -66,7 +67,7 @@ export class Label extends Text {}
export default class CellButton extends Component {
props: {
- children: Array<React.Element<*>> | React.Element<*>,
+ children?: React.Node,
disabled: boolean,
};