动态菜单和动态路由的 antd pro

index.d.ts 399B

12345678910111213
  1. import * as React from 'react';
  2. import AvatarItem from './AvatarItem';
  3. export interface IAvatarListProps {
  4. size?: 'large' | 'small' | 'mini' | 'default';
  5. style?: React.CSSProperties;
  6. children: React.ReactElement<AvatarItem> | Array<React.ReactElement<AvatarItem>>;
  7. }
  8. export default class AvatarList extends React.Component<IAvatarListProps, any> {
  9. public static Item: typeof AvatarItem;
  10. }