UNPKG

@crossed/styled

Version:

A universal & performant styling library for React Native, Next.js & React

9 lines 528 B
/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import type { CrossedMethods, StyleSheet, Themes } from './types'; export declare const createStyles: <O extends Record<C, StyleSheet | ((..._params: unknown[]) => any)>, C extends string>(stylesParam: (_theme: Themes[keyof Themes]) => O) => { [key in keyof O]: O[key] extends Function ? O[key] : CrossedMethods<O[key]>; }; //# sourceMappingURL=createStyles.d.ts.map