UNPKG

@storybook/addon-ondevice-backgrounds

Version:

A react-native storybook addon to show different backgrounds for your preview

10 lines (9 loc) 379 B
import type { AddonStore, API } from 'storybook/internal/manager-api'; export type Channel = ReturnType<AddonStore['getChannel']>; interface BackgroundPanelProps { channel: Channel; api: API; active: boolean; } declare const BackgroundPanel: ({ active, api, channel }: BackgroundPanelProps) => import("react/jsx-runtime").JSX.Element; export default BackgroundPanel;