27 | {columnize(images, columns).map((column, index) => (
28 |
29 | {column.map((image, imageIndex) => (
30 |

31 | ))}
32 |
33 | ))}
34 |
35 | );
36 |
37 | Gallery.propTypes = {
38 | columns: PropTypes.number,
39 | images: PropTypes.arrayOf(PropTypes.string)
40 | };
41 |
42 | // eslint-disable-next-line react/no-multi-comp
43 | const Demo = ({ location }) => {
44 | const demoRoutes = ['/cheese', '/cat', '/dog', '/hipster'];
45 | return (
46 |