Skip to content

Latest commit

 

History

History
139 lines (138 loc) · 14.9 KB

Text.props.md

File metadata and controls

139 lines (138 loc) · 14.9 KB

Text Props

Name Type Description
mHorizontal boolean {"flexDirection":"row"}
mVertical boolean {"flexDirection":"column"}
mFull boolean {"flex":1}
mCenter boolean {"alignItems":"center","justifyContent":"center"}
mCenterVertical boolean {"alignItems":"center"}
mAbsoluteFillParent boolean {"position":"absolute","top":0,"left":0,"right":0,"bottom":0}
mBorder boolean {"borderWidth":1}
mBorderTop boolean {"borderTopWidth":1}
mBorderBottom boolean {"borderBottomWidth":1}
mBorderLeft boolean {"borderLeftWidth":1}
mBorderRight boolean {"borderRightWidth":1}
mBorderRadius boolean {"borderRadius":4}
mMarginTopNarrow boolean {"marginTop":4}
mMarginTopDefault boolean {"marginTop":8}
mMarginTopLarge boolean {"marginTop":16}
mMarginTopExtraLarge boolean {"marginTop":32}
mMarginBottomNarrow boolean {"marginBottom":4}
mMarginBottomDefault boolean {"marginBottom":8}
mMarginBottomLarge boolean {"marginBottom":16}
mMarginBottomExtraLarge boolean {"marginBottom":32}
mMarginLeftNarrow boolean {"marginLeft":4}
mMarginLeftDefault boolean {"marginLeft":8}
mMarginLeftLarge boolean {"marginLeft":16}
mMarginLeftExtraLarge boolean {"marginLeft":32}
mMarginRightNarrow boolean {"marginRight":4}
mMarginRightDefault boolean {"marginRight":8}
mMarginRightLarge boolean {"marginRight":16}
mMarginRightExtraLarge boolean {"marginRight":32}
mMarginHorizontalNarrow boolean {"marginHorizontal":4}
mMarginHorizontalDefault boolean {"marginHorizontal":8}
mMarginHorizontalLarge boolean {"marginHorizontal":16}
mMarginHorizontalExtraLarge boolean {"marginHorizontal":32}
mMarginVerticalNarrow boolean {"marginVertical":4}
mMarginVerticalDefault boolean {"marginVertical":8}
mMarginVerticalLarge boolean {"marginVertical":16}
mMarginVerticalExtraLarge boolean {"marginVertical":32}
mPaddingTopNarrow boolean {"paddingTop":4}
mPaddingTopDefault boolean {"paddingTop":8}
mPaddingTopLarge boolean {"paddingTop":16}
mPaddingTopExtraLarge boolean {"paddingTop":32}
mPaddingBottomNarrow boolean {"paddingBottom":4}
mPaddingBottomDefault boolean {"paddingBottom":8}
mPaddingBottomLarge boolean {"paddingBottom":16}
mPaddingBottomExtraLarge boolean {"paddingBottom":32}
mPaddingLeftNarrow boolean {"paddingLeft":4}
mPaddingLeftDefault boolean {"paddingLeft":8}
mPaddingLeftLarge boolean {"paddingLeft":16}
mPaddingLeftExtraLarge boolean {"paddingLeft":32}
mPaddingRightNarrow boolean {"paddingRight":4}
mPaddingRightDefault boolean {"paddingRight":8}
mPaddingRightLarge boolean {"paddingRight":16}
mPaddingRightExtraLarge boolean {"paddingRight":32}
mPaddingHorizontalNarrow boolean {"paddingHorizontal":4}
mPaddingHorizontalDefault boolean {"paddingHorizontal":8}
mPaddingHorizontalLarge boolean {"paddingHorizontal":16}
mPaddingHorizontalExtraLarge boolean {"paddingHorizontal":32}
mPaddingVerticalNarrow boolean {"paddingVertical":4}
mPaddingVerticalDefault boolean {"paddingVertical":8}
mPaddingVerticalLarge boolean {"paddingVertical":16}
mPaddingVerticalExtraLarge boolean {"paddingVertical":32}
mBorderWidth number Set value for borderWidth
mBorderTopWidth number Set value for borderTopWidth
mBorderBottomWidth number Set value for borderBottomWidth
mBorderLeftWidth number Set value for borderLeftWidth
mBorderRightWidth number Set value for borderRightWidth
mMargin number Set value for margin
mMarginTop number Set value for marginTop
mMarginBottom number Set value for marginBottom
mMarginLeft number Set value for marginLeft
mMarginRight number Set value for marginRight
mMarginHorizontal number Set value for marginHorizontal
mMarginVertical number Set value for marginVertical
mPadding number Set value for padding
mPaddingTop number Set value for paddingTop
mPaddingBottom number Set value for paddingBottom
mPaddingLeft number Set value for paddingLeft
mPaddingRight number Set value for paddingRight
mPaddingHorizontal number Set value for paddingHorizontal
mPaddingVertical number Set value for paddingVertical
mBackgroundColor string Set value for backgroundColor
mBorderColor string Set value for borderColor
mBold boolean {"fontWeight":"bold"}
mItalic boolean {"fontStyle":"italic"}
mUnderline boolean {"textDecorationLine":"underline"}
mStrike boolean {"textDecorationLine":"line-through"}
mCapitalize boolean {"textTransform":"capitalize"}
mUppercase boolean {"textTransform":"uppercase"}
mLowercase boolean {"textTransform":"lowercase"}
mFont10 boolean {"fontSize":10}
mFont12 boolean {"fontSize":12}
mFont14 boolean {"fontSize":14}
mFont16 boolean {"fontSize":16}
mFont18 boolean {"fontSize":18}
mFont20 boolean {"fontSize":20}
mFont22 boolean {"fontSize":22}
mFont24 boolean {"fontSize":24}
mFont26 boolean {"fontSize":26}
mFont28 boolean {"fontSize":28}
mFont30 boolean {"fontSize":30}
mFont32 boolean {"fontSize":32}
mFont34 boolean {"fontSize":34}
mFont36 boolean {"fontSize":36}
mFont38 boolean {"fontSize":38}
mFont40 boolean {"fontSize":40}
mFontWeight100 boolean {"fontWeight":"100"}
mFontWeight200 boolean {"fontWeight":"200"}
mFontWeight300 boolean {"fontWeight":"300"}
mFontWeight400 boolean {"fontWeight":"400"}
mFontWeight500 boolean {"fontWeight":"500"}
mFontWeight600 boolean {"fontWeight":"600"}
mFontWeight700 boolean {"fontWeight":"700"}
mFontWeight800 boolean {"fontWeight":"800"}
mFontWeight900 boolean {"fontWeight":"900"}
mLineHeight10 boolean {"lineHeight":10}
mLineHeight12 boolean {"lineHeight":12}
mLineHeight14 boolean {"lineHeight":14}
mLineHeight16 boolean {"lineHeight":16}
mLineHeight18 boolean {"lineHeight":18}
mLineHeight20 boolean {"lineHeight":20}
mLineHeight22 boolean {"lineHeight":22}
mLineHeight24 boolean {"lineHeight":24}
mLineHeight26 boolean {"lineHeight":26}
mLineHeight28 boolean {"lineHeight":28}
mLineHeight30 boolean {"lineHeight":30}
mLineHeight32 boolean {"lineHeight":32}
mLineHeight34 boolean {"lineHeight":34}
mLineHeight36 boolean {"lineHeight":36}
mLineHeight38 boolean {"lineHeight":38}
mLineHeight40 boolean {"lineHeight":40}
mTextAlignLeft boolean {"textAlign":"left"}
mTextAlignCenter boolean {"textAlign":"center"}
mTextAlignRight boolean {"textAlign":"right"}
mTextAlignJustify boolean {"textAlign":"justify"}
mFontSize number Set value for fontSize
mColor string Set value for color