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.

11 lines (10 loc) 473 B
import { ImageBackgroundProps } from 'react-native'; import ImageGlobalStyles from '../styles/types/ImageGlobalStyles'; import BaseGlobalStyles from '../styles/types/BaseGlobalStyles'; type ImageProps = { [T in keyof ImageGlobalStyles as `image_${T}`]?: boolean; }; interface GSImageBackgroundProps extends BaseGlobalStyles, ImageProps, ImageBackgroundProps { } declare const GSImageBackground: (props: GSImageBackgroundProps) => any; export default GSImageBackground;