mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-01 19:40:44 +00:00
feat(advanced-dropdown-menu): create component
This commit is contained in:
parent
8700c95c24
commit
ec4bef977e
@ -0,0 +1,23 @@
|
|||||||
|
import { DropdownMenu } from '@status-im/components'
|
||||||
|
|
||||||
|
import { VALIDATOR_SETTINGS_CARDS_TITLES } from '../../../../constants'
|
||||||
|
import ValidatorSettingCard from './ValidatorSettingCard'
|
||||||
|
|
||||||
|
type CardTitle = (typeof VALIDATOR_SETTINGS_CARDS_TITLES)[number]
|
||||||
|
|
||||||
|
type AdvancedDropdownMenuProps = {
|
||||||
|
title: CardTitle
|
||||||
|
}
|
||||||
|
|
||||||
|
const AdvancedDropdownMenu = ({ title }: AdvancedDropdownMenuProps) => {
|
||||||
|
return (
|
||||||
|
<DropdownMenu>
|
||||||
|
<ValidatorSettingCard title={title} />
|
||||||
|
<DropdownMenu.Content>
|
||||||
|
<DropdownMenu.Item label="Deposit" onSelect={() => {}} />
|
||||||
|
</DropdownMenu.Content>
|
||||||
|
</DropdownMenu>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default AdvancedDropdownMenu
|
Loading…
x
Reference in New Issue
Block a user