react-use-precision-timer
Version:
A versatile precision timer hook for React. Doubles as a stopwatch.
17 lines (16 loc) • 542 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Example = void 0;
const UseTimerExample_1 = require("../components/UseTimerExample");
// === Setup ===
const StoryComponent = UseTimerExample_1.UseTimerExample; // <-- Set to your component
const meta = {
title: 'Stories/useTimer', // <-- Set to your story title
component: StoryComponent,
parameters: {
options: { showPanel: false }, // Don't show addons panel
},
};
exports.default = meta;
// === Stories ===
exports.Example = {};
;