Files
bee-dashboard/src/components/SwarmDivider.tsx
T
Cafe137 a768b4ea06 feat: add light node upgrade top up methods (#372)
* feat: add top up

* chore: remove console.log

* build: add pseudo-missing dependency

* feat: add missing top up components

* fix: crypto route

* feat(wip): add gift wallet logic

* fix: fix gift wallet flows

* feat: simplify flow without fund step

* feat: add loading screens

* fix: remove alert

* fix: prepend http if needed

* fix: fix bug that was reintroduced with merge

* refactor: rename minusEther to minusBaseUnits

* fix: remove unused setStartedAt

* build: remove unused dependency
2022-06-02 09:28:43 +02:00

18 lines
365 B
TypeScript

import { Box, Divider } from '@material-ui/core'
import { ReactElement } from 'react'
interface Props {
my?: number
mt?: number
mb?: number
color?: string
}
export function SwarmDivider({ my, mt, mb, color = '#cbcbcb' }: Props): ReactElement {
return (
<Box my={my} mt={mt} mb={mb}>
<Divider style={{ borderColor: color }} />
</Box>
)
}