@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) • 654 B
TypeScript
import { NativeTheme } from '../../../shared/types/base-theme-types';
import type { ComprehensiveStyleProps } from '../../../shared/types/style-attributes.interfaces';
export declare const getStyleFromPropsNative: ({ backgroundColor, backgroundColorFromTheme, borderColorFromTheme, borderBottomWidth, borderTopWidth, borderLeftWidth, borderRightWidth, borderRadius, borderWidth, elevation, flex, flexDirection, height, marginLeft, marginRight, marginTop, marginBottom, margin, maxHeight, maxWidth, theme, minHeight, opacity, padding, paddingLeft, paddingTop, paddingRight, debug, style, width, }: ComprehensiveStyleProps<NativeTheme, number>) => string;