UNPKG

react-native-global-styler

Version:

Lightweight and developer-friendly React Native styling toolkit with prebuilt styled components and a powerful useGlobalStyler hook for shorthand props like m_10, radius_12, resize_cover, and more.

49 lines (48 loc) 901 B
declare const ImgMatcher: { resize_cover: { key: string; value: string; }; resize_contain: { key: string; value: string; }; resize_stretch: { key: string; value: string; }; resize_center: { key: string; value: string; }; resize_repeat: { key: string; value: string; }; }; export declare const ImageMatcher: { resize_cover: { key: string; value: string; }; resize_contain: { key: string; value: string; }; resize_stretch: { key: string; value: string; }; resize_center: { key: string; value: string; }; resize_repeat: { key: string; value: string; }; }; type ImageStyles = { [N in keyof typeof ImgMatcher as `${N}`]?: boolean; }; export default ImageStyles;