Updated language menu.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
.menu {
|
||||
background: var(--gray50);
|
||||
border: 1px solid var(--gray500);
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -9,6 +9,7 @@ export default function MenuButton({
|
||||
icon,
|
||||
value,
|
||||
options,
|
||||
menuClassname,
|
||||
menuPosition = 'bottom',
|
||||
menuAlign = 'right',
|
||||
onSelect,
|
||||
@@ -45,7 +46,7 @@ export default function MenuButton({
|
||||
</Button>
|
||||
{showMenu && (
|
||||
<Menu
|
||||
className={styles.menu}
|
||||
className={classNames(styles.menu, menuClassname)}
|
||||
options={options}
|
||||
selectedOption={selectedOption}
|
||||
onSelect={handleSelect}
|
||||
|
||||
Reference in New Issue
Block a user