mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-27 18:40:33 +00:00
feat: create validator wrapper component
This commit is contained in:
parent
d663fd9869
commit
e850734269
@ -0,0 +1,25 @@
|
||||
import { Shadow } from '@status-im/components'
|
||||
import { ReactNode } from 'react'
|
||||
|
||||
type ValidatorBoxWrapperProps = {
|
||||
children: ReactNode
|
||||
}
|
||||
|
||||
const ValidatorBoxWrapper = ({ children }: ValidatorBoxWrapperProps) => {
|
||||
return (
|
||||
<Shadow
|
||||
variant="$2"
|
||||
style={{
|
||||
borderRadius: '16px',
|
||||
border: 'none',
|
||||
flexDirection: 'row',
|
||||
backgroundColor: '#fff',
|
||||
zIndex: 999,
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</Shadow>
|
||||
)
|
||||
}
|
||||
|
||||
export default ValidatorBoxWrapper
|
Loading…
x
Reference in New Issue
Block a user