@livelike/react-native
Version:
LiveLike React Native package
17 lines (13 loc) • 354 B
text/typescript
import { LLFonts } from './font';
import { LLTheme } from './theme';
export type LLComponentStyleFn<TStyles> = (arg: {
theme: LLTheme;
fonts: LLFonts;
}) => TStyles;
export type ComponentStyleProp<TStyles> = {
styles?: Partial<TStyles>;
};
export type createStylesArg<TStyles> = {
componentStyles: TStyles;
stylesProp?: Partial<TStyles>;
};