JSPM

react-hierarchical-steps

1.0.3
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q22622F
    • License MIT

    Package Exports

    • react-hierarchical-steps

    Readme

    React Hierarchical Steps

    A React + TypeScript component to display a navigable hierarchical structure using breadcrumbs and Material UI.

    Features

    • Supports infinite nesting
    • Breadcrumb navigation
    • Conditional edit icon + modal form
    • Material UI styled

    Install

    npm install react-hierarchical-steps

    Usage

    import StepNavigator, { StepItem } from 'react-hierarchical-steps';
    
    const data: StepItem[] = [
      {
        title: 'Remote not working',
        editable: true
      },
      {
        title: 'Line on the screen',
        editable: false
      },
      {
        title: 'WiFi not connecting',
        editable: true,
        children: [
          { title: 'Check router', editable: true },
          { title: 'Restart TV', editable: false }
        ]
      }
    ];
    
    <StepNavigator data={data} />;

    License

    MIT