native-base
Version:
Essential cross-platform UI components for React Native
6 lines (5 loc) • 439 B
TypeScript
import React from 'react';
import type { ComponentTheme } from '../theme';
export default function Factory<P>(Component: React.ComponentType<P>, componentTheme?: ComponentTheme): React.ForwardRefExoticComponent<React.PropsWithoutRef<P & import("..").StyledProps & import("../components/types").PlatformProps<import("..").StyledProps> & {
children?: string | JSX.Element | JSX.Element[] | undefined;
}> & React.RefAttributes<unknown>>;