@expandorg/components
Advanced tools
Comparing version 0.2.81-alpha.2 to 0.2.81-alpha.3
{ | ||
"name": "@expandorg/components", | ||
"version": "0.2.81-alpha.2", | ||
"version": "0.2.81-alpha.3", | ||
"description": "expand UI components library", | ||
@@ -35,3 +35,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "013929c7688dea22a681d5483167882e7009dccd" | ||
"gitHead": "6845871bafcb2004963126e9e3aa3d87598e5b7d" | ||
} |
@@ -19,2 +19,4 @@ import React, { Component } from 'react'; | ||
tooltip: PropTypes.string, | ||
tooltipPosition: PropTypes.string, | ||
tooltipOrientation: PropTypes.string, | ||
options: PropTypes.arrayOf( | ||
@@ -33,2 +35,4 @@ PropTypes.oneOfType([PropTypes.string, PropTypes.object]) | ||
nullValue: null, | ||
tooltipPosition: undefined, | ||
tooltipOrientation: undefined, | ||
theme: 'default', | ||
@@ -52,2 +56,4 @@ options: [], | ||
tooltip, | ||
tooltipPosition, | ||
tooltipOrientation, | ||
theme, | ||
@@ -78,3 +84,10 @@ } = this.props; | ||
<ArrowDown className="gem-dropdown-content-arrow" /> | ||
{tooltip && <TooltipIcon tooltip={tooltip} />} | ||
{tooltip && ( | ||
<TooltipIcon | ||
tooltip={tooltip} | ||
p | ||
position={tooltipPosition} | ||
orientation={tooltipOrientation} | ||
/> | ||
)} | ||
</div> | ||
@@ -81,0 +94,0 @@ </div> |
Sorry, the diff of this file is not supported yet
197123
3862