meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
2 changed files with
2 additions and
2 deletions
-
src/components/EnsureDeviceApp/index.js
-
src/components/base/SideBar/SideBarListItem.js
|
|
@ -36,7 +36,7 @@ type OwnProps = { |
|
|
|
deviceSelected: ?Device, |
|
|
|
deviceStatus: DeviceStatus, |
|
|
|
error: ?Error, |
|
|
|
}) => React$Element<*>, |
|
|
|
}) => React$Node, |
|
|
|
} |
|
|
|
|
|
|
|
type Props = OwnProps & { |
|
|
|
|
|
@ -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, |
|
|
|