JSPM

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

Jumps through the hoops for you.

Package Exports

  • @trbl/react-jumplist

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@trbl/react-jumplist) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

NPM Bundle Size Supported by TRBL

React Jumplist

Jumps through the hoops for you.

Quick Start

Installation

$ yarn add @trbl/react-jumplist

Compositon

  import React from 'react';
  import { JumplistProvider, Jumplist } from '@trbl/react-jumplist';

  const App = () => {
    return (
      <JumplistProvider>
        <Jumplist
          list={[
            {
              clickableNode: <p>Click to jump<p>,
              targetId: 'jump-target',
            }
          ]}
        />
        <div id="jump-target" />
      </JumplistProvider>
    )
  }

  export default App;

Demo

To demo locally, clone the repo and

$ yarn install
$ npm run dev
$ open http://localhost:3000

Documentation

All available props can be found via the references below:

License

MIT Copyright (c) TRBL, LLC