UNPKG

@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.

25 lines (24 loc) 838 B
import { NativeTheme } from '../../shared/types/base-theme-types'; import { ColorNameOrValueFromTheme } from '../../shared/types/color.types'; import { ThemedLayoutStyleProps } from '../../shared/types/style-attributes.interfaces'; export interface BaseViewStyleProps extends ThemedLayoutStyleProps<NativeTheme, any> { padding?: number; paddingTop?: number; width?: number; position?: 'absolute' | 'relative'; maxWidth?: number; paddingLeft?: number; marginBottom?: number; opacity?: number; paddingRight?: number; maxHeight?: number; marginLeft?: number; marginRight?: number; paddingBottom?: number; height?: number; borderWidth?: number; flex?: number; borderColor?: string; backgroundOpacity?: number; backgroundColorFromTheme?: ColorNameOrValueFromTheme; }