Coder Social home page Coder Social logo

Comments (12)

xotahal avatar xotahal commented on May 9, 2024 2

Hey @meiraleal, I've just realized I've implemented bottom navigation. I try to make new component here for this bottom navigation and then it probably will be only about position and background color. What do you mean?

This is the result:
screen shot 2016-12-02 at 10 23 09 am

from react-native-material-ui.

xotahal avatar xotahal commented on May 9, 2024 1

Yeah, it's the question. For this bottom navigation is ok without handling the content. But for the tab navigation - everyone needs to handle animation to work with "changing" the content due to the tab underline. If you understand me ... We will see, we can do it without handling the content and in the feature we can improve it ;)

from react-native-material-ui.

Jarrio avatar Jarrio commented on May 9, 2024 1

I agree that those header tabs would be nice. How about implementing this component into the project somehow?

from react-native-material-ui.

xotahal avatar xotahal commented on May 9, 2024

Interesting idea. I'm not sure if it's just about style. Do you want to make a pull request? ;)

from react-native-material-ui.

Philip-Nunoo avatar Philip-Nunoo commented on May 9, 2024

It would be interesting to have this

from react-native-material-ui.

sabbaticaldev avatar sabbaticaldev commented on May 9, 2024

I'm going to need this in a few days. I'm going to study the material design guideline and try to implement it and send a PR. Any directions, @xotahal ?

from react-native-material-ui.

xotahal avatar xotahal commented on May 9, 2024

Great @meiraleal 👍 Just try to follow style of another components. There always have to be style prop which have a container. Then there have to be getStyles method that counting the style for a component. And of course - eslint.

Think it won't be hard to implement this component without animation. Animations will be harder. And then it should have some events like - onTabChange, etc.

from react-native-material-ui.

sabbaticaldev avatar sabbaticaldev commented on May 9, 2024

I think its good, @xotahal! Are you handling the panels (content) with this component? I'd implement it without content handling, just the events, like onTabChange, and the user handle it.

from react-native-material-ui.

simsim0709 avatar simsim0709 commented on May 9, 2024

@xotahal Why don't you integrate with react-native-scrollable-tab-view? It deals with animation already.
I'm currently working on it actually. I can make a pull request if it fits with this library.

from react-native-material-ui.

xotahal avatar xotahal commented on May 9, 2024

@simsim0709 I don't think we need it here. This library is just about styles/material design. And I think your library is more about navigation.

For example, I use BottomNavigation component from this library as a custom tabBarComponent in react-navigation. And it works in the same way how your react-native-scrollable-tab-view works. You know what I mean, don't you?

from react-native-material-ui.

simsim0709 avatar simsim0709 commented on May 9, 2024

@xotahal Yep. I get it :)

from react-native-material-ui.

AleksandarSimikic avatar AleksandarSimikic commented on May 9, 2024

Any updates regarding this issue ? I still cant implement Tabs from this library.

from react-native-material-ui.

Related Issues (20)

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.