@impact-x/react-nav
TypeScript icon, indicating that this package has built-in type declarations

1.2.16 • Public • Published

@impact-x/react-nav

Nav component for products using Impact X design system.

Installation

To install @impact-x/react-nav in your project, run the following command:

npm install -S @impact-x/react-nav

If you prefer Yarn, use the following command instead:

yarn add @impact-x/react-nav

Usage

You can import and use this module:

import Nav from '@impact-x/react-nav';

<Nav
  menuItems={[
    { id: 'nav-1', title: 'Home' },
    { id: 'nav-2', title: 'Guide' },
  ]}
  onMenuClick={() => {}}
  activeMenuId="nav-1"
  headerTitle="Platform"
  styles="background-color:#173C4D;"
/>;

API documentation

https://tw-impact-x.thoughtworks-labs.net/#/Components/Nav

Readme

Keywords

none

Package Sidebar

Install

npm i @impact-x/react-nav

Weekly Downloads

132

Version

1.2.16

License

MIT

Unpacked Size

1.19 MB

Total Files

109

Last publish

Collaborators

  • hannahbourke
  • tw-design-system