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