mirror of
https://github.com/luxfi/wallet.git
synced 2026-10-30 15:13:19 +00:00
Copies apps/extension, apps/mobile and 10 pkgs (wallet, ui, config, utilities, sessions, gating, notifications, analytics, eslint-config, prices) into a standalone pnpm workspace. Resolves merge conflict markers in extension and mobile package.json files, strips build artifacts (.wxt, .output, Pods).
20 lines
666 B
TypeScript
20 lines
666 B
TypeScript
import React, { PropsWithChildren } from 'react'
|
|
import { View, ViewProps } from 'react-native'
|
|
|
|
// Source: https://github.com/Shopify/react-native-skia/issues/548#issuecomment-1157609472
|
|
|
|
const PlainView = ({ children, ...props }: PropsWithChildren<unknown>): React.CElement<ViewProps, View> => {
|
|
return React.createElement(View, props, children)
|
|
}
|
|
const noop = (): null => null
|
|
|
|
export const BlurMask = PlainView
|
|
export const Canvas = PlainView
|
|
export const Circle = PlainView
|
|
export const Group = PlainView
|
|
export const LinearGradient = PlainView
|
|
export const Mask = PlainView
|
|
export const Path = PlainView
|
|
export const Rect = PlainView
|
|
export const vec = noop
|