
hi,
i want color my text using props (status='primary') in react-native with ui kitten.
馃憢
Did you complete Getting Started Guide?
yes, I completed this guide, please make a project in react-native in @ui-kitten/components use mapping from eva or custom mapping send me your repository in which you are using mapping or customMapping (status='primary') or (status='danger')
You can see the working example in our docs, it runs a bare setup. Please make sure you import Text component from the proper package
聽import React, {useEffect} from 'react';
import {StyleSheet} from 'react-native';
import {聽 ApplicationProvider,聽 Button,聽 Icon,聽 IconRegistry,聽 Layout,聽 Text,} from '@ui-kitten/components';
import {EvaIconsPack} from '@ui-kitten/eva-icons';
import * as eva from '@eva-design/eva';
import SplashScreen from 'react-native-splash-screen';
const HeartIcon = (props) =>
聽export default () => {聽
useEffect(() => {
聽聽聽 SplashScreen.show();聽
}, []);
聽聽 return (
聽聽聽 <>聽
聽聽聽聽
聽聽聽聽
聽聽聽聽聽聽聽聽 kuch niaya krty h聽聽聽聽
聽聽聽聽聽
聽聽聽聽聽聽
聽聽聽聽聽聽聽聽聽聽 Start with editing App.js to configure your App聽聽聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽
聽聽
);};聽
const styles = StyleSheet.create({聽
container: {聽
聽聽 flex: 1,聽聽
聽 justifyContent: 'center',聽聽聽 alignItems: 'center',
聽 },聽
text: {聽聽
聽 textAlign: 'center',聽
},聽
likeButton: {聽聽
聽 marginVertical: 16,聽
},});聽
hi, how i color my text using text componeant in @ui-kitten
Maybe someone else also help you if you share code after some alignment formatting. Currently it's not readable.