UNPKG

@devlander/styled-components-theme

Version:

Devlander's team utilizes this package during the development of their React Native projects. Its primary purpose is to facilitate code reuse by sharing types across multiple projects that uses the styled-components library.

10 lines (9 loc) 599 B
import { NativeTheme } from '../../shared/types/base-theme-types'; import { FunctionProviderProps } from '../../shared/types/function-provider.types'; import type { FC } from 'react'; export interface WithThemeFunctionsAndStyleNative extends FunctionProviderProps<NativeTheme> { theme: NativeTheme; } export type ComponentWithThemeFunctionsNative = FC<WithThemeFunctionsAndStyleNative>; export type WithThemeFunctionsForNative = FC<FunctionProviderProps<NativeTheme>>; export declare const withThemeFunctionsNative: (Component: ComponentWithThemeFunctionsNative) => WithThemeFunctionsForNative;