reactivesearch
reactivesearch copied to clipboard
Style element/filter in a superior level
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.