native-base
Version:
Essential cross-platform UI components for React Native
10 lines (8 loc) • 304 B
text/typescript
import { usePropsResolutionWithComponentTheme } from './usePropsResolution';
import type { ComponentTheme } from '../../theme';
export function usePropsWithComponentTheme(
localTheme: ComponentTheme,
propsReceived: any
) {
return usePropsResolutionWithComponentTheme(localTheme, propsReceived);
}