node/@patternfly/react-core/src/deprecated/components/Tile/examples/TileWithSubtext.tsx
raw| 1 | import { Tile } from '@patternfly/react-core/deprecated'; |
| 2 | |
| 3 | export const TileWithSubtext: React.FunctionComponent = () => ( |
| 4 | <div role="listbox" aria-label="Tiles with subtext"> |
| 5 | <Tile title="Default" isSelected={false}> |
| 6 | Subtext goes here |
| 7 | </Tile>{' '} |
| 8 | <Tile title="Selected" isSelected> |
| 9 | Subtext goes here |
| 10 | </Tile>{' '} |
| 11 | <Tile title="Disabled" isDisabled isSelected={false}> |
| 12 | Subtext goes here |
| 13 | </Tile> |
| 14 | </div> |
| 15 | ); |