0.3.2 • Published 2 years ago
@highoutput/hds-tag v0.3.2
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-tag
Usage
import { Tag, withTag } from '@highoutput/hds-tag';
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())}>
<Tag label="Hello World" closable={true} onClose={handleClose} />
</ThemeProvider>
);
}
0.3.2
2 years ago
0.3.0
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.9
2 years ago
0.2.8
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.2.2-alpha.0
2 years ago
0.1.12
2 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago