/* * Copyright (C) 2019 Red Hat, Inc. * SPDX-License-Identifier: LGPL-2.1-or-later */ import React from "react"; import { Button } from "@patternfly/react-core/dist/esm/components/Button/index.js"; import { Card, CardBody, CardFooter, CardHeader, CardTitle } from '@patternfly/react-core/dist/esm/components/Card/index.js'; import { Gallery, GalleryItem } from "@patternfly/react-core/dist/esm/layouts/Gallery/index.js"; export const CardsDemo = () => { const cards = [ I'm a card in a gallery , I'm a card in a gallery I have a footer , I'm a card in a gallery , I have a header too I'm a card in a gallery , , }} /> This is a card header I'm a card in a gallery , I'm not a card, but I'm in the gallery too, as a generic GalleryItem. , ]; return ( { cards } ); };