Skip to content

Commit

Permalink
Merge pull request #739 from antvis/yuxi-hotfix
Browse files Browse the repository at this point in the history
fix(ava/ntv): import css property type from csstype
LAI-X authored Nov 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 86919c5 + e6fc324 commit 6ec74ee
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ava/package.json
Original file line number Diff line number Diff line change
@@ -58,6 +58,7 @@
"@antv/g2": "^5.0.8",
"@antv/smart-color": "^0.2.1",
"bayesian-changepoint": "^1.0.1",
"csstype": "^3.1.2",
"heap-js": "^2.1.6",
"lodash": "^4.17.21",
"regression": "^2.0.1",
@@ -73,7 +74,6 @@
"@testing-library/jest-dom": "^4.2.4",
"@types/lodash": "^4.14.171",
"@types/numeral": "^2.0.2",
"@types/react": "^17.0.15",
"eslint": "^7.32.0",
"father": "^4.1.0",
"jest": "^24.9.0",
4 changes: 2 additions & 2 deletions packages/ava/src/ntv/schema/common.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { CSSProperties } from 'react';
import type { Properties } from 'csstype';

/** common props for block ele and inline ele */
export type CommonProps = {
styles?: CSSProperties;
styles?: Properties;
className?: string;
key?: string;
};

0 comments on commit 6ec74ee

Please sign in to comment.