UNPKG

timered-counter

Version:

Make the value change more vivid and natural

9 lines (8 loc) 430 B
import { StoryObj } from '@storybook/web-components'; import { TimeredCounter } from '../../src/index.js'; import { NoUndefinedField } from '../utils/index.js'; export declare function animationOptions<T, TC extends TimeredCounter>(context: Parameters<NoUndefinedField<StoryObj>['play']>[0], { counter, list, setBy, }: { counter: TC; list?: T[]; setBy: (counter: TC, key: string, value: T) => void; }): Promise<void>;