Skip to content

Commit

Permalink
update card grid prop type to extend div
Browse files Browse the repository at this point in the history
  • Loading branch information
wodka committed Dec 12, 2021
1 parent 34dbf5f commit 6af0644
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/card/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ 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;
style?: React.CSSProperties;
}

const Grid: React.FC<CardGridProps> = ({ prefixCls, className, hoverable = true, ...props }) => (
Expand Down

0 comments on commit 6af0644

Please sign in to comment.