1.3.4 • Published 2 years ago

@musangowope/hot-components-react v1.3.4

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
2 years ago

@musangowope/hot-components-react

React wrapper component library built from @musangowope/hot-components

Installation

npm

npm install @musangowope/hot-components-react

OR

yarn

yarn add @musangowope/hot-components-react

Getting started

Here is a basic example of how to use LaTableOfContents in React:

import { LaTableOfContents } from "@musangowope/hot-components-react";

function App() {
  const items = [
    {
      title: 'Entire document',
      children: [
        {
          title: 'Ch. 1 – ',
          children: [
            {
              title: 'Part B',
            },
          ],
        },
        {
          title: 'Ch. 2 – ',
        },
      ],
    }
  ]
  return (
    <div>
      <LaTableOfContents items={items}/>
    </div>
  );
}

export default App;

List of components

View more examples of our various components.

Content components

Behaviour components