import { forwardRef } from "react"; import { View as ReactNativeView, ViewProps as RNViewProps, } from "react-native"; import { styled } from "@showtime-xyz/universal.tailwind"; import type { TW } from "@showtime-xyz/universal.tailwind"; export type ViewProps = Omit & { tw?: string | Array | TW[]; }; const StyledView = styled(ReactNativeView); const View = forwardRef(function View({ tw, ...props }: ViewProps, ref: any) { return ( ); }); View.displayName = "View"; export { View };