Preview: withTheme.d.ts
Size: 474 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/styled-components/native/dist/dist/hoc/withTheme.d.ts
import React from 'react';
import { AnyComponent, ExecutionProps } from '../types';
import { NonReactStatics } from '../utils/hoist';
type WithThemeOuterProps<T extends AnyComponent> = Omit<React.ComponentPropsWithRef<T>, keyof ExecutionProps> & ExecutionProps;
export default function withTheme<T extends AnyComponent>(Component: T): React.ForwardRefExoticComponent<React.PropsWithoutRef<WithThemeOuterProps<T>> & React.RefAttributes<any>> & NonReactStatics<T>;
export {};
Directory Contents
Dirs: 0 × Files: 1