Code Monkey home page Code Monkey logo

Comments (4)

ofirelarat avatar ofirelarat commented on September 24, 2024 1

I will check it out 👌

from react-multistep.

ofirelarat avatar ofirelarat commented on September 24, 2024 1

Hey, I checked it
and its look like it is possible to get the rotate results without any code changing
because now all the styles coming from the host

example for rotated nav:
image

So, now there is much more customizability of the styling, and with the right CSS properties you can get any view you would like..

This styles props made the rotation:

styles: {
    container: { 
      display: 'flex',
      padding: '5rem',
      marginTop: '5rem' 
    },
    topNav: {
      display: 'flex',
      flexDirection: 'column',
      margin: '0',
      paddingBottom: '2.2rem',
      listStyleType: 'none',
    },
    topNavStep: {
      color: 'silver',
      cursor: 'pointer',
      width: '25%',
      paddingTop: '4rem',
      paddingRight: '4rem',
      borderLeft: '1px solid silver'
    },
    todo: {
      color: 'gray',
    },
    doing: {
      color: '#1EAEDB',
    },
    done: {
      color: 'green',
    },
    skip: {
      color: 'silver',
    },
    prevButton: {
      display: 'none'
    },
    nextButton: {
      display: 'none'
    }
  }

from react-multistep.

ofirelarat avatar ofirelarat commented on September 24, 2024 1

but I would suggest improving the default style, many time you would like to get some visualization in minimal time and some default values for the styles can help with this.

(Now as far as I tested, without styles properties the component will not work/nothing is visible)

from react-multistep.

srdjan avatar srdjan commented on September 24, 2024 1

Agree, I will add the default styles back, just keeping that for the last moment. Will ping you when I have an approach to that.

For heads up... What I want (need) is to add a more finer control of what next step is ( so it is not only sequential, but child components can be skipped). Also, want (need) to have option to treat child steps as server side pages, too. This two features should be optional, so that base use case doesn't change, but can be used if needed. With these features and adding back default styles - v6.x.x release will be feature complete.

from react-multistep.

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.