-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Closed
Description
Bug report
Describe the bug
using next/image component in storybook throw Error.
To Reproduce
- Set up with-storybook example
yarn create next-app --example with-storybook with-storybook-app - Create new story using
next/image
import Image from 'next/image'
import React from 'react'
export default { title: 'Image' }
// image url
const url = 'https://......'
export const withNextImage = () => (
<Image src={url} width={100} height={100} />
)- Start storybook
Expected behavior
show Image without Error as plane image tag do.
Screenshots
System information
- OS: macOS
- Browser Chrome
- Version of Next.js: 10.0.0
- Version of Node.js: v12.16.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
