Skip to content

Commit

Permalink
Merge pull request #62 from jessiehuff/add-card-props
Browse files Browse the repository at this point in the history
Update CatalogTile to enable card props
  • Loading branch information
wise-king-sullyman authored Jun 20, 2024
2 parents d0ce1fd + 7d8c82b commit 172cf21
Show file tree
Hide file tree
Showing 3 changed files with 501 additions and 21 deletions.
2 changes: 2 additions & 0 deletions packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"@patternfly/documentation-framework": "6.0.0-alpha.41",
"@patternfly/react-table": "6.0.0-alpha.61",
"@patternfly/react-code-editor": "6.0.0-alpha.61",
"@octokit/rest": "^18.0.0",
"surge": "^0.23.1",
"react-monaco-editor": "0.51.0",
"monaco-editor": "0.34.1",
"rimraf": "^2.6.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/module/src/components/CatalogTile/CatalogTile.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react';
import { Card, CardHeader, CardTitle, CardBody, CardFooter } from '@patternfly/react-core';
import { Card, CardHeader, CardTitle, CardBody, CardFooter, CardProps } from '@patternfly/react-core';
import { css } from '@patternfly/react-styles';
import { getUniqueId } from '@patternfly/react-core';

export interface CatalogTileProps extends Omit<React.HTMLProps<HTMLElement>, 'title'> {
export interface CatalogTileProps extends Omit<CardProps, 'title'> {
/** Id */
id?: any;
/** Additional css classes */
Expand Down
Loading

0 comments on commit 172cf21

Please sign in to comment.