react-native-stylo
react-native-stylo
    • Stylo theme
      • Colors
        • -Light
        • -Dark
      • Variables
        • -Light
        • -Dark
      • StyleNamespaces
    • Generic styles
      • BackgroundColor
      • Border
      • Flex
      • FontColor
      • Margin
      • Padding
    • Component styles
      • Icon
      • Image
      • ImageBackground
      • Pressable
      • ScrollView
      • Text
      • TextInput
      • TouchableOpacity
      • TouchableHighlight
      • View
    • Assorted styles
      • Avatar
      • Badge
      • Button
      • Form
      • Horizontal
      • List
      • Screen
      • Tag
    • Customizing Stylo theme
  • Documentation
react-native-stylo

View

Type definition

Ref: TBackgroundColorStyle, TBorderStyle, TFlexStyle, TMarginStyle, TPaddingStyle, TBadgeStyle, TFormStyle, THorizontalStyle, TListStyle, TScreenStyle, TTagStyle

type TViewStyle = | TBackgroundColorStyle | TBorderStyle | TFlexStyle | TMarginStyle | TPaddingStyle | TBadgeStyle | TFormStyle | THorizontalStyle | TListStyle | TScreenStyle | TTagStyle;

Usage

The <View /> component is the base layout component in React Native. Any usage examples can be referred, as almost all of them use <View />.

  • BackgroundColor
  • Border
  • Flex
  • Margin
  • Padding
  • Form
  • Horizontal
  • List
  • Screen