diff --git a/src/components/AvatarList/index.d.ts b/src/components/AvatarList/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0f85f4ed21fbf8a8cce1fc058019975b2678ab15 --- /dev/null +++ b/src/components/AvatarList/index.d.ts @@ -0,0 +1,21 @@ +import React from "react"; +export interface AvatarItemProps { + tips: string | React.ReactNode; + src: string; +} + +export interface AvatarListProps { + size?: "large" | "small" | "mini" | "default"; + children: + | React.ReactElement + | Array>; +} + +declare class AvatarItem extends React.Component { + constructor(props: AvatarItemProps); +} + +export default class AvatarList extends React.Component { + constructor(props: AvatarListProps); + static Item: typeof AvatarItem; +} diff --git a/src/components/Charts/index.md b/src/components/Charts/index.md index 966279d4f4ffda57f9a24b1398b00f0ccde22591..d3b47e05905fff7b7d48dedf734a4b11da22a87a 100644 --- a/src/components/Charts/index.md +++ b/src/components/Charts/index.md @@ -40,8 +40,8 @@ Ant Design Pro 提供的业务中常用的图表类型,都是基于 [G2](https | height | 图表高度 | number | - | | line | 是否显示描边 | boolean | false | | animate | 是否显示动画 | boolean | true | -| xAxis | [x 轴配置](https://antv.alipay.com/g2/doc/tutorial/start/axis.html) | object | - | -| yAxis | [y 轴配置](https://antv.alipay.com/g2/doc/tutorial/start/axis.html) | object | - | +| xAxis | [x 轴配置](http://antvis.github.io/g2/doc/tutorial/start/axis.html) | object | - | +| yAxis | [y 轴配置](http://antvis.github.io/g2/doc/tutorial/start/axis.html) | object | - | | data | 数据 | array<{x, y}> | - | ### MiniProgress