The Open Standard for Generative UI
image storybook finishing touch
ankit-thesysb6563a046395
diff --git a/js/packages/react-ui/src/components/Image/stories/Image.stories.tsx b/js/packages/react-ui/src/components/Image/stories/Image.stories.tsxindex 93d07d91f..e95ee366c 100644--- a/js/packages/react-ui/src/components/Image/stories/Image.stories.tsx+++ b/js/packages/react-ui/src/components/Image/stories/Image.stories.tsx@@ -80,11 +80,18 @@ const meta: Meta<typeof Image> = {export default meta;type Story = StoryObj<typeof Image>;+const randomImage = [+ "https://images.unsplash.com/photo-1738168246881-40f35f8aba0a?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxmZWF0dXJlZC1waG90b3MtZmVlZHwyNnx8fGVufDB8fHx8fA%3D%3D",+ "https://images.unsplash.com/photo-1736354485341-d165463e0133?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxmZWF0dXJlZC1waG90b3MtZmVlZHwyMnx8fGVufDB8fHx8fA%3D%3D",+ "https://images.unsplash.com/photo-1738522477288-82f5db85cfc3?q=80&w=2973&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",+ "https://images.unsplash.com/photo-1736794781970-ae55b6e3a13e?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxmZWF0dXJlZC1waG90b3MtZmVlZHw3MHx8fGVufDB8fHx8fA%3D%3D",+];+export const Default: Story = {args: {- src: "https://picsum.photos/800/600",+ src: randomImage[Math.floor(Math.random() * randomImage.length)],alt: "Sample image",aspectRatio: "3:2",- scale: "fit",+ scale: "fill",},};