Skip to content

Commit

Permalink
fix(ExpressiveCard): use CarbonIconType for pictogram
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrugger committed May 15, 2024
1 parent 7b1bcdc commit f79bf4c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import React, { PropsWithChildren, ReactNode, forwardRef } from 'react';
import PropTypes from 'prop-types';
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
import { Card } from '../Card';

import { getDevtoolsProps } from '../../global/js/utils/devtools';
Expand Down Expand Up @@ -66,7 +67,7 @@ interface ExpressiveCardProps extends PropsWithChildren {
/**
* Provides the icon that's displayed at the top of the card
*/
pictogram?: () => void | object;
pictogram?: CarbonIconType;
/**
* Optionally specify an href for your Button to become an <a> element
*/
Expand Down

0 comments on commit f79bf4c

Please sign in to comment.