trixieapp / react-virgin Goto Github PK
View Code? Open in Web Editor NEWThe react-native UI Kit you've been looking for.
Home Page: https://trixieapp.github.io/react-virgin/
License: MIT License
The react-native UI Kit you've been looking for.
Home Page: https://trixieapp.github.io/react-virgin/
License: MIT License
The readme states "React-Virgin is coming soon for Android" and under TODOs it has "For Android". However, it also has a preview for Android, and the latest commit appears to have added Android support.
Hi guys,
first of all very nice work :)
and thanks for making this a nice intuitive way to find components in RN.
I am just wondering about when you'll release the Android version or support for this?
Thanks again
i read your code and saw you navigate another screen every time when clicking MenuItem. It can make a stack with a lot of screens.
Hi there i am using you custom tab navigator, I want to use Icon in tabBarIcon instead of using image tag but when i try to load the icon it's not working it's show blank.
Here is my code
Component,
} from 'react';
/* App routes define here */
import { StackNavigator, TabNavigator } from 'react-navigation'
import VerifyMobileNumber from '../containers/VerifyUser/VerifyMobileNumber'
import VerifyMobileOtp from '../containers/VerifyUser/VerifyMobileOtp'
import ProfilePage from '../containers/ProfileScreen/ProfilePage'
import WalkThrough from '../containers/WalkThrough/Screen'
/*Tab navigator pages*/
import UserPage from '../components/userPage'
import InviteFriend from '../containers/ProfileScreen/InviteFriend'
import UserPagew from '../components/userPage'
import InviteFriendw from '../containers/ProfileScreen/InviteFriend'
import FeatherIcon from 'react-native-vector-icons/MaterialCommunityIcons';
import componentStyle from '../components/style/component';
import BottomNav from '../components/bottomNav'
const tabList = [
{
text: ' UserPage ',
redirectLink: 'UserPage',
id: 'UserPage',
icon: 'account-circle',
selectionIcon: 'account-circle',
},
{
text: ' InviteFriend ',
redirectLink: 'InviteFriend',
id: 'InviteFriend',
icon: 'account-card-detail',
selectionIcon: 'account-card-detail',
},
{
text: ' UserPagew ',
redirectLink: 'UserPagew',
id: 'UserPagew',
icon: 'calendar-check',
selectionIcon: 'calendar-check',
},
{
text: ' InviteFriendw ',
redirectLink: 'InviteFriendw',
id: 'InviteFriendw',
icon: 'calendar-check',
selectionIcon: 'calendar-check',
},
];
const UserPages = StackNavigator({
UserPage: {
screen: UserPage,
},
});
const InviteFriends = StackNavigator({
InviteFriend: {
screen: InviteFriend,
},
});
const UserPagews = StackNavigator({
UserPagew: {
screen: UserPagew,
},
});
const InviteFriendws = StackNavigator({
InviteFriendw: {
screen: InviteFriendw,
},
});
const tabBarConfiguration = {
tabBarOptions: {
style: {
backgroundColor: 'white',
borderTopWidth: 0,
shadowColor: '#000',
shadowOffset: { width: 0, height: 3 },
shadowOpacity: 0.2,
shadowRadius: 4,
elevation: 1,
},
},
showIcon:true,
tabBarPosition: 'top',
tabBarComponent: BottomNav
};
const CustomTab = TabNavigator({
home: {
screen: UserPage,
navigationOptions: {
tabBarLabel: tabList[0].text,
tabBarIcon: ({ focused }) => (
<FeatherIcon
style={componentStyle.footerIcons}
source={focused ? tabList[0].selectionIcon : tabList[0].icon}
/>
)
}
},
menu2: {
screen: InviteFriend,
navigationOptions: {
tabBarLabel: tabList[1].text,
tabBarIcon: ({ focused }) => (
<FeatherIcon
style={componentStyle.footerIcons}
source={focused ? tabList[1].selectionIcon : tabList[1].icon}
/>
)
}
},
menu3: {
screen: UserPagew,
navigationOptions: {
tabBarLabel: tabList[2].text,
tabBarIcon: ({ focused }) => (
<FeatherIcon
style={componentStyle.footerIcons}
source={focused ? tabList[2].selectionIcon : tabList[2].icon}
/>
)
}
},
menu4: {
screen: InviteFriendw,
navigationOptions: {
tabBarLabel: tabList[3].text,
tabBarIcon: ({ focused, tintColor }) => (
<FeatherIcon
style={componentStyle.footerIcons}
source={focused ? tabList[3].selectionIcon : tabList[3].icon}
/>
)
}
}
}, tabBarConfiguration);
export const MobileVerification = StackNavigator({
CustomTab: { screen : CustomTab }
},{
headerMode: 'none'
},);
The text "List of all componenets used" should say "List of all components used".
Great job, keep it up!
Currently the only way to use Trixie is reading the source code which is not ideal. Documentation would be helpful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.