Skip to content

Commit

Permalink
fix: CardGridProps should expose Div Properties like onClick #33264 (#…
Browse files Browse the repository at this point in the history
…33563)

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
  • Loading branch information
LongHaoo and zengguhao.zgh committed Jan 5, 2022
1 parent 8ebb4a3 commit 5ba83cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/card/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import classNames from 'classnames';
import { ConfigConsumer, ConfigConsumerProps } from '../config-provider';

export interface CardGridProps {
export interface CardGridProps extends React.HTMLAttributes<HTMLDivElement> {
prefixCls?: string;
className?: string;
hoverable?: boolean;
Expand Down

0 comments on commit 5ba83cd

Please sign in to comment.