UNPKG

aria-live-storybook-addon

Version:

Observe and log aria-live region changes in the addon panel

8 lines (7 loc) 282 B
import { StoryFn as StoryFunction } from "@storybook/addons"; export declare type Assertiveness = "polite" | "assertive"; export interface ChangeOptions { text: string; assertiveness: Assertiveness; } export declare const withRoundTrip: (storyFn: StoryFunction) => unknown;