Giter Site home page Giter Site logo

trixieapp / react-virgin Goto Github PK

View Code? Open in Web Editor NEW
1.5K 1.5K 109.0 1.92 MB

The react-native UI Kit you've been looking for.

Home Page: https://trixieapp.github.io/react-virgin/

License: MIT License

JavaScript 82.45% Python 3.97% Java 3.46% Objective-C 10.13%
react-native ui-components ui-design ui-kit uikit

react-virgin's People

Contributors

dependabot[bot] avatar keerthijk avatar manojmj92 avatar nattatorn-dev avatar pranavrajs avatar rishipuri avatar soorajchandran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-virgin's Issues

What's the Android ETA?

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

Not able to load the icons in tab navigator

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'
},);


Documentation

Currently the only way to use Trixie is reading the source code which is not ideal. Documentation would be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.