/** * Higher-order component for applying universal props to Platform Blocks components * Optimized for React Native with web compatibility */ import React from 'react'; import { ViewStyle } from 'react-native'; import { UniversalSystemProps } from './universal'; interface WithUniversalPropsOptions { /** Whether to render as a View wrapper (React Native) or apply classes (web) */ useWrapper?: boolean; } /** * Higher-order component that adds universal props support to any component */ export declare function withUniversalProps
(Component: React.ComponentType
, options?: WithUniversalPropsOptions): React.ForwardRefExoticComponent (props: P): {
componentProps: Omit ;
universalStyles: ViewStyle | undefined;
shouldRender: boolean;
webClassName: string;
};
export {};