import React from 'react'; import { Card, CardHeader, CardBody, Gallery, Flex } from '@patternfly/react-core'; import PlusIcon from '@patternfly/react-icons/dist/esm/icons/plus-icon'; export const CardTileMulti: React.FunctionComponent = () => { const [isChecked1, setIsChecked1] = React.useState(false); const [isChecked2, setIsChecked2] = React.useState(false); const [isChecked3, setIsChecked3] = React.useState(false); const id1 = 'multi-tile-1'; const id2 = 'multi-tile-2'; const id3 = 'multi-tile-3'; const onChange = (event: React.FormEvent, checked: boolean) => { const name = event.currentTarget.name; switch (name) { case id1: setIsChecked1(checked); break; case id2: setIsChecked2(checked); break; case id3: setIsChecked3(checked); break; } }; return ( Tile header Tile content and description Tile header Tile content and description Tile header (disabled) Tile content and description ); };