import { ImageStoryblok } from '../typings/generated/components-schema' import { storyImage } from '../storybook/core/various' import { LmImageElement } from '../components/image/ImageElement' const props: ImageStoryblok = { _uid: '123', component: 'image', source: 'https://a.storyblok.com/f/57008/5000x3334/bae4d23fcf/amsterdam-retouch.png' } const svg: ImageStoryblok = { ...props, source: 'https://a.storyblok.com/f/57008/x/7dea868beb/cc_icons-badge_029.svg' } // eslint-disable-next-line import/no-anonymous-default-export export default { title: 'Design/Data Display/Image', component: LmImageElement } export const Basic = () => (

Default:

Fixed width 150px

Rounded Circle 150px height:

Square 150px height:

Square 150px height rounded:

Not Round:

Rounded:

Square:

Resized images with fixed height or width:

) export const DefinedHeight = () => (
) export const ImageSVG = () => (
) export const ImageFocalPoint = () => { const src = 'https://a.storyblok.com/f/69529/4896x2755/95e0b03c15/img_9046.jpg' return (


) } export const Playground = () => (
)