selvagsz / react-power-select

A highly composable & reusable select/autocomplete components

Home Page:https://selvagsz.github.io/react-power-select/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing class name to PowerSelect__Options

aseem2625 opened this issue · comments

As in title. Since PowerSelect__Options is a tether, it's difficult to access it in case specific class is to be added. The same class which is attached to PowerSelect can be added to that as well.

So, to customize style, we can .PowerSelect.customStyle{...} and PowerSelect__Options.customStyle{...}

commented

${className}__Menu class gets added to the DropdownMenu, where className being the class name passed to PowerSelect.

Added in #16