1.0.2 • Published 7 months ago

react-native-customtext-v1.2 v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

React Native Custom Text Package

Get Started

Installation

Install my-project with npm

yarn add react-native-customtext-v1.2

Usage/Examples

import {View} from 'react-native'; 
import React from 'react'; 
import UIText from 'react-native-customtext-v1'; 
const Screen = () => { 
  return ( 
    
       <UIText  
       backgroundColor="#f00"
        position="absolute"
        alignSelf="center" 
        >
        hello
        </UIText>
    ); 
  };

export default Screen;

Properties

Get all items

Properties

ParameterType
alignItemsFlexAlignType
alignContentany
alignSelfany
fontSizenumber
fontWeightany
widthany
heightany
backgroundColorstring
borderRadiusnumber
borderColornumber
borderWidthnumber
marginnumber
marginHorizontalnumber
marginVerticalnumber
paddingnumber
paddingHorizontalnumber
paddingVerticalnumber
positionabsolute , relative

Author