Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX committed Jan 25, 2024
1 parent 8ceea71 commit 5588dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/statistic/Statistic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import StatisticNumber from './Number';
import useStyle from './style';
import type { FormatConfig, valueType } from './utils';

type StatisticHTMLAttributes = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>;
type StatisticHTMLAttributes = Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'prefix'>;

interface StatisticReactProps extends FormatConfig {
prefixCls?: string;
Expand Down

0 comments on commit 5588dd1

Please sign in to comment.