react-hotkeyz
Version:
A component that enables registration of hotkeys per z-index.
15 lines (9 loc) • 401 B
JavaScript
import React from "react";
import { storiesOf } from "@storybook/react";
import { withKnobs } from "@storybook/addon-knobs";
import HOCExample from "./HOCExample";
import HooksExample from "./HooksExample";
const stories = storiesOf("react-hotkeyz", module);
stories.addDecorator(withKnobs);
stories.add("HOC example", () => <HOCExample />);
stories.add("Hooks example", () => <HooksExample />);