diff --git a/src/pages/ValidatorOnboarding/Overview/OverviewWrapper.tsx b/src/pages/ValidatorOnboarding/Overview/OverviewWrapper.tsx new file mode 100644 index 00000000..03add1e6 --- /dev/null +++ b/src/pages/ValidatorOnboarding/Overview/OverviewWrapper.tsx @@ -0,0 +1,41 @@ +import { ReactNode } from 'react' +import { useTheme } from 'tamagui' + +import './validatorLayout.css' + +type OverviewWrapperProps = { + rightImageSrc?: string + children: ReactNode + imgHeight?: string +} + +const OverviewWrapper = ({ + rightImageSrc, + + children, + imgHeight, +}: OverviewWrapperProps) => { + const theme = useTheme() + + return ( +
+
+
+
{children}
+
+
+
+
+ background +
+
+
+ ) +} + +export default OverviewWrapper