@storybook/addon-viewport
Version:
Build responsive components by adjusting Storybook’s viewport size and orientation
15 lines (11 loc) • 561 B
TypeScript
export { DEFAULT_VIEWPORT, INITIAL_VIEWPORTS, MINIMAL_VIEWPORTS } from './preview.js';
import { API } from '@storybook/manager-api';
import './Viewport-c277af0d.js';
declare const ADDON_ID = "storybook/viewport";
declare const PARAM_KEY = "viewport";
declare const UPDATE: string;
declare const CONFIGURE: string;
declare const SET: string;
declare const CHANGED: string;
declare const registerShortcuts: (api: API, setState: any, viewportsKeys: string[]) => Promise<void>;
export { ADDON_ID, CHANGED, CONFIGURE, PARAM_KEY, SET, UPDATE, registerShortcuts };