@rn-vui/themed
Version:
Cross Platform React Native UI Toolkit
7 lines (6 loc) • 307 B
TypeScript
import { StyleSheet } from 'react-native';
import { Colors } from './colors';
import { Theme } from './theme';
export declare const makeStyles: <T extends StyleSheet.NamedStyles<T> | StyleSheet.NamedStyles<any>, V>(styles: T | ((theme: {
colors: Colors;
} & Theme, props: V) => T)) => (props?: V) => T;