0.3.10 • Published 9 months ago

@highoutput/hds-tab v0.3.10

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Getting started

We aim to build a library of custom ReactJS components that implements our unique UI design conventions. The ReactJS components will be based primarily on Chakra UI components. React Storybook will be used for documentation and testing.

Commands

To install the package, use:

npm i @highoutput/hds-tab

Usage

import { Tab } from '@highoutput/hds-tab'
import { ThemeProvider, extendTheme } from '@highoutput/hds';
import { useCallback } from 'react';

export default function Example() {
  const handleClose = useCallback(() => {
    /* heavy logic after close */
  }, []);

  return (
    <ThemeProvider theme={extendTheme(withTag())}>
      <Tab tabLabels={['Label 1', 'Label 2']} 
      tabItems={
        <TabPanels>
          <TabPanel>Label 1</TabPanel>
          <TabPanel>Label 2</TabPanel>
      </TabPanels>
      }/>
    </ThemeProvider>
  );
}
0.3.10

9 months ago

0.3.9

11 months ago

0.3.8

11 months ago

0.3.7

11 months ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.3

1 year ago

0.2.4

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2-alpha.0

1 year ago

0.2.2

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago