Numbers Probably Matter

    This package has been deprecated

    Author message:

    This package has been deprecated. Please find this package under its new name @cloudflare/component-progress.

    cf-component-progress

    8.0.0 • Public • Published

    cf-component-progress

    Cloudflare Progress Component

    Installation

    Installation with yarn is recommended

     
    $ yarn add cf-component-progress
     

    Usage

    import React from 'react';
    import { Progress } from 'cf-component-progress';
     
    class ProgressComponent extends React.Component {
      constructor(props) {
        super(props);
        this.state = {
          activeStep: 'foo'
        };
      }
     
      handleStepChange(step) {
        this.setState({
          activeStep: step
        });
      }
     
      render() {
        return (
          <Progress
            active={this.state.activeStep}
            onChange={this.handleStepChange.bind(this)}
            steps={[
              { id: 'foo', label: 'Foo', disabled: false },
              { id: 'bar', label: 'Bar', disabled: false },
              { id: 'baz', label: 'Baz', disabled: true }
            ]}
          />
        );
      }
    }
     
    export default ProgressComponent;
     

    Keywords

    none

    Install

    npm i cf-component-progress

    DownloadsWeekly Downloads

    15

    Version

    8.0.0

    License

    BSD-3-Clause

    Unpacked Size

    26.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • trevorcf
    • g4brym
    • snigdha34
    • wrangler-publisher
    • marksteyn
    • chiminator
    • sgoodhew_cf
    • terinjokes
    • third774
    • evanderkoogh
    • jsteinberger
    • jasnell
    • kkoenig
    • asapzacy
    • pcostanzo
    • gregbrimble
    • geelen
    • jgentes
    • rexscaria
    • dcruz_cf
    • xuranwang
    • jculvey
    • sejoker
    • caass
    • vasturiano
    • cf-ci-write
    • segments-write
    • thibmeu
    • xortive
    • gurjinder
    • cf-ci2
    • lvalenta
    • worenga