diff --git a/src/components/dropdown/index.js b/src/components/dropdown/index.js index b1e65a1f..117e8ab9 100644 --- a/src/components/dropdown/index.js +++ b/src/components/dropdown/index.js @@ -59,6 +59,8 @@ export default class Dropdown extends PureComponent { animationDuration: 225, fontSize: 16, + + numberOfLines: 1, textColor: 'rgba(0, 0, 0, .87)', itemColor: 'rgba(0, 0, 0, .54)', @@ -126,6 +128,8 @@ export default class Dropdown extends PureComponent { animationDuration: PropTypes.number, fontSize: PropTypes.number, + + numberOfLines: PropTypes.number, textColor: PropTypes.string, itemColor: PropTypes.string, @@ -579,6 +583,7 @@ export default class Dropdown extends PureComponent { selectedItemColor = textColor, disabledItemColor = baseColor, fontSize, + numberOfLines, itemTextStyle, rippleOpacity, rippleDuration, @@ -630,7 +635,7 @@ export default class Dropdown extends PureComponent { return ( - + {title}