feat: create validator wrapper component

This commit is contained in:
RadoslavDimchev 2023-08-25 09:13:34 +03:00
parent d663fd9869
commit e850734269

View File

@ -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