storybook-addon-performance
Version:
A storybook addon to help better understand and debug performance for React components
11 lines (8 loc) • 309 B
TypeScript
import { Channel } from '@storybook/channels';
type Binding = {
eventName: string;
fn: (...args: any[]) => void;
};
declare function bind(channel: Channel, binding: Binding): () => void;
declare function bindAll(channel: Channel, bindings: Binding[]): () => void;
export { Binding, bind, bindAll };