mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 21:48:19 +08:00
2aca1fff22
* feat: make statistic component support html attributes * fix: types * chore: improve * feat: use pickAttrs for data-* and aria-* and role
6 lines
192 B
TypeScript
6 lines
192 B
TypeScript
import type * as React from 'react';
|
|
|
|
export type HTMLAriaDataAttributes = React.AriaAttributes & {
|
|
[key: `data-${string}`]: unknown;
|
|
} & Pick<React.HTMLAttributes<HTMLDivElement>, 'role'>;
|