storybook-addon-performance
Version:
A storybook addon to help better understand and debug performance for React components
9 lines (6 loc) • 319 B
TypeScript
import { RunContext } from './machine.js';
import 'xstate';
import '../types.js';
declare function saveFile(storyName: string, current: RunContext): void;
declare function readFile(e: React.FormEvent<HTMLInputElement>, callback: (context: RunContext, storyFile: string) => void): void;
export { readFile, saveFile };