withTheme.d.ts 364 B

1234
  1. import React from 'react';
  2. import { AnyComponent, ExecutionProps } from '../types';
  3. import { NonReactStatics } from '../utils/hoist';
  4. export default function withTheme<T extends AnyComponent>(Component: T): React.ForwardRefExoticComponent<React.PropsWithoutRef<React.JSX.LibraryManagedAttributes<T, ExecutionProps>> & React.RefAttributes<T>> & NonReactStatics<T>;