UNPKG

roko-date-picker

Version:
6 lines (5 loc) 368 B
import { type StyleSheet } from "react-native"; import { tTheme } from "../../domain/types/t.theme"; type StylesFunction<T, Args extends unknown[]> = (theme: tTheme, ...args: Args) => T; export declare const useStyles: <T extends StyleSheet.NamedStyles<T>, Args extends unknown[] = []>(styleFn: StylesFunction<T, Args>, theme?: tTheme, ...args: Args) => T; export {};