@dvrd/dvr-controls 1.0.69 → 1.0.70
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.
package/package.json
CHANGED
|
@@ -159,7 +159,7 @@ export default function DvrdMultiSelect(props: Props) {
|
|
|
159
159
|
const label = selectableItemLabel ?? item.label;
|
|
160
160
|
if (['number', 'string'].includes(typeof label)) return (
|
|
161
161
|
<label key={index} className={classNames('dvrd-select-item', isSelected && 'selected', itemClassName)}
|
|
162
|
-
onClick={onClickItem(value)}>{
|
|
162
|
+
onClick={onClickItem(value)}>{isSelected &&
|
|
163
163
|
<AwesomeIcon name='check' className='check-icon'/>} {label}</label>
|
|
164
164
|
);
|
|
165
165
|
const labelElement: ReactElement = label as ReactElement;
|