1.0.2 • Published 7 months ago
react-native-customtext-v1.2 v1.0.2
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
Parameter | Type |
---|---|
alignItems | FlexAlignType |
alignContent | any |
alignSelf | any |
fontSize | number |
fontWeight | any |
width | any |
height | any |
backgroundColor | string |
borderRadius | number |
borderColor | number |
borderWidth | number |
margin | number |
marginHorizontal | number |
marginVertical | number |
padding | number |
paddingHorizontal | number |
paddingVertical | number |
position | absolute , relative |