Browse Source

Flow stuff

master
meriadec 7 years ago
parent
commit
21a78a442f
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/EnsureDeviceApp/index.js
  2. 2
      src/components/base/SideBar/SideBarListItem.js

2
src/components/EnsureDeviceApp/index.js

@ -36,7 +36,7 @@ type OwnProps = {
deviceSelected: ?Device,
deviceStatus: DeviceStatus,
error: ?Error,
}) => React$Element<*>,
}) => React$Node,
}
type Props = OwnProps & {

2
src/components/base/SideBar/SideBarListItem.js

@ -6,7 +6,7 @@ import styled from 'styled-components'
import Box, { Tabbable } from 'components/base/Box'
export type Props = {
label: string | (Props => React$Element<any>),
label: string | (Props => React$Node),
desc?: Props => any, // TODO: type should be more precise, but, eh ¯\_(ツ)_/¯
icon?: any, // TODO: type should be more precise, but, eh ¯\_(ツ)_/¯
disabled?: boolean,

Loading…
Cancel
Save