UNPKG

vite-plugin-storybook-nextjs

Version:

This is a Vite plugin that allows you to use Next.js features in Vite. It is the basis for `@storybook/experimental-nextjs-vite` and should be used when running portable stories in Vitest.

7 lines (4 loc) 264 B
import React__default from 'next/dist/compiled/react'; import * as _NextLegacyImage from 'next/legacy/image'; declare function NextLegacyImage({ loader, ...props }: _NextLegacyImage.ImageProps): React__default.JSX.Element; export { NextLegacyImage as default };