React-native-ui-kitten: ui-kitten react-native

Created on 2 Dec 2020  路  5Comments  路  Source: akveo/react-native-ui-kitten

kitten
hi,
i want color my text using props (status='primary') in react-native with ui kitten.

Help wanted

All 5 comments

馃憢
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聽聽聽聽聽聽聽聽聽

聽聽聽聽聽聽聽聽 聽聽聽聽聽聽聽聽聽聽聽 For example, try changing theme to Dark by using eva.dark聽聽聽聽聽聽聽聽聽 聽聽聽聽聽聽聽
聽聽

Maybe someone else also help you if you share code after some alignment formatting. Currently it's not readable.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RWOverdijk picture RWOverdijk  路  3Comments

PORA69 picture PORA69  路  3Comments

domsterthebot picture domsterthebot  路  3Comments

domsterthebot picture domsterthebot  路  3Comments

nonameolsson picture nonameolsson  路  3Comments