UNPKG

timered-counter

Version:

Make the value change more vivid and natural

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