@carbonare/hooks
v0.2.8
Published
React hooks for Carbon Design System
Downloads
12
Maintainers
Readme
@carbonare/hooks
Some react hooks for help building frontend with Carbon Design System
Usage
import { useRouter } from '@carbonare/hooks';
const router = useRouter();
router.push("/path");
router.replace("/path");
router.match(...your logic here)
router.pathname "...get current pathname"