@kne/super-select 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2431,7 +2431,7 @@ const SelectInput = p => {
2431
2431
  onClick: e => {
2432
2432
  e.stopPropagation();
2433
2433
  }
2434
- }, prefix), /*#__PURE__*/React.createElement("div", {
2434
+ }, typeof prefix === 'function' ? prefix(contextProps) : prefix), /*#__PURE__*/React.createElement("div", {
2435
2435
  className: classnames(style$3['select-input-inner'], 'select-input-inner')
2436
2436
  }, value.length > 0 ? single || value[0].value === selectedAllValue.value ? value[0].label : value.map(item => {
2437
2437
  return /*#__PURE__*/React.createElement(Tag, {
@@ -2457,7 +2457,7 @@ const SelectInput = p => {
2457
2457
  onClick: e => {
2458
2458
  e.stopPropagation();
2459
2459
  }
2460
- }, suffix));
2460
+ }, typeof suffix === 'function' ? suffix(contextProps) : suffix));
2461
2461
  const contextProps = {
2462
2462
  props,
2463
2463
  value: value,