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}