react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
14 lines (13 loc) • 506 B
TypeScript
import React from 'react';
import * as Modifiers from './modifiers';
export interface BaseComponentInjectedProps {
/**
* All generated styles from the modifiers props
*/
modifiers: ReturnType<typeof Modifiers.generateModifiersStyle>;
}
declare type ThemeComponent = {
useCustomTheme?: boolean;
};
declare function asBaseComponent<PROPS, STATICS = {}>(WrappedComponent: React.ComponentType<any>): React.ComponentClass<PROPS & ThemeComponent> & STATICS;
export default asBaseComponent;