UNPKG

react-timed-renderer

Version:

React component that re-renders at the interval provided.

9 lines (8 loc) 374 B
import type { Meta, StoryObj } from '@storybook/react'; import { TimedRenderer } from '../components/TimedRenderer'; declare const StoryComponent: typeof TimedRenderer; declare const meta: Meta<typeof StoryComponent>; export default meta; type Story = StoryObj<typeof meta>; export declare const UsingDefaultInterval: Story; export declare const UsingCustomInterval: Story;