fix: apply styles

This commit is contained in:
Luis Félix 2019-11-13 17:44:56 +00:00 committed by Josh Harvey
parent 0d9d54efaf
commit 769822fce9
14 changed files with 120 additions and 96 deletions

View file

@ -40,7 +40,8 @@ function Select ({ label, items, ...props }) {
<button
{...getToggleButtonProps()}
>
{startCase(selectedItem)} <Arrowdown />
<span className={classes.selectedItem}>{startCase(selectedItem)}</span>
<Arrowdown />
</button>
<ul {...getMenuProps()}>
{isOpen &&
@ -49,7 +50,7 @@ function Select ({ label, items, ...props }) {
key={`${item}${index}`}
{...getItemProps({ item, index })}
>
{startCase(item)}
<span>{startCase(item)}</span>
</li>
))}
</ul>