Skip to content

Commit

Permalink
feat(@clayui/empty-state): Add prop description
Browse files Browse the repository at this point in the history
  • Loading branch information
kresimir-coko authored and bryceosterhaus committed May 21, 2020
1 parent c34a742 commit 96dab75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/clay-empty-state/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface IProps extends React.HTMLAttributes<HTMLDivElement> {
description?: string;

/**
*
* HTMLImage element attributes to add to the image within the component
*/
imgProps?: React.ImgHTMLAttributes<HTMLImageElement>;

Expand All @@ -36,7 +36,7 @@ const ClayEmptyState: React.FunctionComponent<IProps> = ({
imgSrc,
title = 'No results found',
...otherProps
}) => {
}: IProps) => {
const hasImg = imgSrc || imgProps;

return (
Expand Down

0 comments on commit 96dab75

Please sign in to comment.