File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 2222 "@tanstack/react-query" : " ^5.90.2" ,
2323 "@ant-design/icons" : " ^4.8.3" ,
2424 "@antv/dumi-theme-antv" : " beta" ,
25+ "@antv/g2plot" : " ^2.3.1" ,
26+ "@antv/g6" : " 3.3.7" ,
27+ "@antv/util" : " ^3.3.1" ,
2528 "antd" : " 5.10.2" ,
29+ "chroma-js" : " ^2.1.0" ,
2630 "classnames" : " ^2.2.6" ,
2731 "dumi" : " ~2.4.21" ,
2832 "gh-pages" : " ^3.1.0" ,
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ const Products = () => {
104104 } ;
105105
106106 const getDots = ( ) => {
107- let dots : Array < Object > = [ ] ;
107+ let dots : Array < React . ReactNode > = [ ] ;
108108 const length = products . length ;
109109 const cols = 3 ;
110110 const rows = Math . ceil ( length / 2 ) + 1 ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const QuoteCard = (props: Props) => {
3131 id : transformedMessage ,
3232 } ) ;
3333 } ;
34- const borderSlicer : Array < object > = [ ] ;
34+ const borderSlicer : Array < React . ReactNode > = [ ] ;
3535 if ( props . hasBorder ) {
3636 borderSlicer . push (
3737 < div key = { 1 } className = { classNames ( styles . border , styles . lborder ) } /> ,
Original file line number Diff line number Diff line change 1+ import type { useIntl , FormattedMessage , useLocale } from 'react-intl' ;
2+
3+ declare module 'dumi' {
4+ export const useIntl : typeof useIntl ;
5+ export const FormattedMessage : typeof FormattedMessage ;
6+ export const useLocale : typeof useLocale ;
7+ }
8+
19declare module '@antv/dumi-theme-antv' {
210 const exports : any ;
311 export = exports ;
You can’t perform that action at this time.
0 commit comments