From c3c03bf5684bd3d26a5ce66dce4d5700439c8d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 20 Jun 2018 18:03:37 +0200 Subject: [PATCH] fix flow --- src/components/base/Ellipsis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/base/Ellipsis.js b/src/components/base/Ellipsis.js index d2b10585..5990be5b 100644 --- a/src/components/base/Ellipsis.js +++ b/src/components/base/Ellipsis.js @@ -7,7 +7,7 @@ import Text from 'components/base/Text' const outerStyle = { width: 0 } const innerStyle = { overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' } -export default ({ children, canSelect, ...p }: { children: any, canSelect: * }) => ( +export default ({ children, canSelect, ...p }: { children: any, canSelect?: boolean }) => ( {children}