native-base
Version:
Essential cross-platform UI components for React Native
10 lines (9 loc) • 532 B
TypeScript
/**
* @summary Combines provided porps with component's theme props and resloves them.
* @arg {string} component - Name of the component.
* @arg {object} incomingProps - Props passed by the user.
* @arg {object} state - dependent states.
* @arg {object} config - configuration for resolution. Accepts key like ignoreProps, resolveResponsively.
* @returns {object} Resolved and flattened props.
*/
export declare function usePropsResolutionTest(component: string, incomingProps: any, state?: any, config?: any): Partial<any>;