reactivesearch icon indicating copy to clipboard operation
reactivesearch copied to clipboard

Style element/filter in a superior level

Open cb29 opened this issue 5 years ago • 0 comments

Hi,

we can style filters and elements with specific props, i.e:

renderItem={(label, count, isSelected) => ( <div> {label} <span style={{ marginLeft: 5, color: isSelected ? 'red' : 'dodgerblue' }}> {count} </span> </div> )}All projects

I'm using this custom props to design the label and count of a checkbox element.

But, I need to add a specific div on a superior html level. Is there a possibility to create a custom html style for the superior level of html?

For the moment, if it's not possible, the feature is usefull in a next version of ReactiveSearch.

Thanks.

cb29 avatar Apr 15 '20 16:04 cb29