| 15 | type Story = StoryFn<typeof GridList>; |
| 16 | |
| 17 | export const Example: Story = args => ( |
| 18 | <GridList {...args} style={{width: 800, maxWidth: 'calc(100vw - 80px)'}} aria-label="Photos"> |
| 19 | <GridListItem textValue="Desert Sunset"> |
| 20 | <img |
| 21 | src="https://images.unsplash.com/photo-1705034598432-1694e203cdf3?q=80&w=600&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 22 | width={600} |
| 23 | height={400} |
| 24 | /> |
| 25 | <Text>Desert Sunset</Text> |
| 26 | <Text slot="description">PNG • 2/3/2024</Text> |
| 27 | </GridListItem> |
| 28 | <GridListItem textValue="Hiking Trail"> |
| 29 | <img |
| 30 | src="https://images.unsplash.com/photo-1722233987129-61dc344db8b6?q=80&w=600&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 31 | width={600} |
| 32 | height={900} |
| 33 | /> |
| 34 | <Text>Hiking Trail</Text> |
| 35 | <Text slot="description">JPEG • 1/10/2022</Text> |
| 36 | </GridListItem> |
| 37 | <GridListItem textValue="Lion"> |
| 38 | <img |
| 39 | src="https://images.unsplash.com/photo-1629812456605-4a044aa38fbc?q=80&w=600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 40 | width={600} |
| 41 | height={899} |
| 42 | /> |
| 43 | <Text>Lion</Text> |
| 44 | <Text slot="description">JPEG • 8/28/2021</Text> |
| 45 | </GridListItem> |
| 46 | <GridListItem textValue="Mountain Sunrise"> |
| 47 | <img |
| 48 | src="https://images.unsplash.com/photo-1722172118908-1a97c312ce8c?q=80&w=600&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 49 | width={600} |
| 50 | height={900} |
| 51 | /> |
| 52 | <Text>Mountain Sunrise</Text> |
| 53 | <Text slot="description">PNG • 3/15/2015</Text> |
| 54 | </GridListItem> |
| 55 | <GridListItem textValue="Giraffe tongue"> |
| 56 | <img |
| 57 | src="https://images.unsplash.com/photo-1574870111867-089730e5a72b?q=80&w=600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 58 | width={600} |
| 59 | height={900} |
| 60 | /> |
| 61 | <Text>Giraffe tongue</Text> |
| 62 | <Text slot="description">PNG • 11/27/2019</Text> |
| 63 | </GridListItem> |
| 64 | <GridListItem textValue="Golden Hour"> |
| 65 | <img |
| 66 | src="https://images.unsplash.com/photo-1718378037953-ab21bf2cf771?q=80&w=600&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 67 | width={600} |
| 68 | height={402} |
| 69 | /> |
| 70 | <Text>Golden Hour</Text> |
| 71 | <Text slot="description">WEBP • 7/24/2024</Text> |
| 72 | </GridListItem> |
| 73 | <GridListItem textValue="Architecture"> |
| 74 | <img |
nothing calls this directly
no outgoing calls
no test coverage detected