Browse Source

fix: CardGridProps should expose Div Properties like onClick #33264 (#33563)

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
pull/33579/head
Long Hao (龙濠) 3 years ago
committed by GitHub
parent
commit
5ba83cd2ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/card/Grid.tsx

2
components/card/Grid.tsx

@ -2,7 +2,7 @@ import * as React from 'react';
import classNames from 'classnames'; import classNames from 'classnames';
import { ConfigConsumer, ConfigConsumerProps } from '../config-provider'; import { ConfigConsumer, ConfigConsumerProps } from '../config-provider';
export interface CardGridProps { export interface CardGridProps extends React.HTMLAttributes<HTMLDivElement> {
prefixCls?: string; prefixCls?: string;
className?: string; className?: string;
hoverable?: boolean; hoverable?: boolean;

Loading…
Cancel
Save