0.3.10 • Published 2 years ago
@highoutput/hds-toast v0.3.10
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-toast
Usage
import { useToast } from "@highoutput/hds-toast";
import { ThemeProvider, extendTheme } from "@highoutput/hds";
export default function Example() {
const toast = useToast();
return (
<ThemeProvider>
<button
onClick={function () {
toast.success("Hello world!");
}}
>
Click me
</button>
</ThemeProvider>
);
}
0.3.10
2 years ago
0.3.9
2 years ago
0.3.8
2 years ago
0.3.1
2 years ago
0.2.12
2 years ago
0.2.11
2 years ago
0.2.10
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.9
2 years ago
0.2.5
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.2.3-alpha.0
2 years ago
0.1.16
2 years ago
0.1.18
2 years ago
0.2.2-alpha.0
2 years ago
0.2.2
2 years ago
0.2.4
2 years ago
0.1.13
2 years ago