@devlander/styled-components-theme
Version:
Devlander's team utilizes this package during the development of their React Native projects. Its primary purpose is to facilitate code reuse by sharing types across multiple projects that uses the styled-components library.
4 lines (3 loc) • 474 B
TypeScript
import { WebTheme } from '../../../shared/types/base-theme-types';
import { ImageStyleFromProps } from '../../../shared/types/img-style-props';
export declare const getStyleForImgPropsForWeb: ({ backgroundColorFromTheme, maxWidth, borderBottomRightRadius, borderColorFromTheme, borderTopRightRadius, maxHeight, height, theme, width, borderRadius, borderWidth, borderBottomLeftRadius, borderTopLeftRadius, debug, }: ImageStyleFromProps<WebTheme, number | string>) => string;