| 116 | }; |
| 117 | |
| 118 | export const Sections: Story = args => ( |
| 119 | <GridList {...args} style={{width: 800, maxWidth: 'calc(100vw - 80px)'}} aria-label="Photos"> |
| 120 | <GridListSection> |
| 121 | <GridListHeader>Fruit</GridListHeader> |
| 122 | <GridListItem textValue="Apple"> |
| 123 | <img |
| 124 | src="https://images.unsplash.com/photo-1630563451961-ac2ff27616ab?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 125 | width={600} |
| 126 | height={400} |
| 127 | /> |
| 128 | <Text>Apple</Text> |
| 129 | <Text slot="description">PNG • 9/2/2021</Text> |
| 130 | </GridListItem> |
| 131 | <GridListItem textValue="Peach"> |
| 132 | <img |
| 133 | src="https://images.unsplash.com/photo-1642372849486-f88b963cb734?q=80&w=2858&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 134 | width={600} |
| 135 | height={900} |
| 136 | /> |
| 137 | <Text>Peach</Text> |
| 138 | <Text slot="description">JPEG • 1/16/2022</Text> |
| 139 | </GridListItem> |
| 140 | <GridListItem textValue="Blueberry"> |
| 141 | <img |
| 142 | src="https://images.unsplash.com/photo-1606757389667-45c2024f9fa4?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 143 | width={600} |
| 144 | height={900} |
| 145 | /> |
| 146 | <Text>Blueberry</Text> |
| 147 | <Text slot="description">JPEG • 11/30/2020</Text> |
| 148 | </GridListItem> |
| 149 | </GridListSection> |
| 150 | <GridListSection> |
| 151 | <GridListHeader>Vegetables</GridListHeader> |
| 152 | <GridListItem textValue="Broccoli"> |
| 153 | <img |
| 154 | src="https://images.unsplash.com/photo-1685504445355-0e7bdf90d415?q=80&w=928&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 155 | width={600} |
| 156 | height={900} |
| 157 | /> |
| 158 | <Text>Broccoli</Text> |
| 159 | <Text slot="description">PNG • 5/30/2023</Text> |
| 160 | </GridListItem> |
| 161 | <GridListItem textValue="Brussels Sprouts"> |
| 162 | <img |
| 163 | src="https://images.unsplash.com/photo-1685504507286-dc290728c01a?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 164 | width={600} |
| 165 | height={900} |
| 166 | /> |
| 167 | <Text>Brussels Sprouts</Text> |
| 168 | <Text slot="description">PNG • 7/3/2021</Text> |
| 169 | </GridListItem> |
| 170 | <GridListItem textValue="Peas"> |
| 171 | <img |
| 172 | src="https://images.unsplash.com/photo-1587411768345-867e228218c8?q=80&w=1160&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" |
| 173 | width={600} |
| 174 | height={900} |
| 175 | /> |
nothing calls this directly
no outgoing calls
no test coverage detected