index.d.ts 492 Bytes
Newer Older
陈小聪's avatar
陈小聪 committed
1 2
import React from 'react';
import Description, { DescriptionProps } from './Description';
jim's avatar
jim committed
3

陈小聪's avatar
陈小聪 committed
4 5
export interface DescriptionListProps {
  className?: string;
6
  col?: number;
陈小聪's avatar
陈小聪 committed
7
  description?: DescriptionProps[];
8
  gutter?: number;
陈小聪's avatar
陈小聪 committed
9
  layout?: 'horizontal' | 'vertical';
jim's avatar
jim committed
10 11
  size?: 'large' | 'small';
  style?: React.CSSProperties;
陈小聪's avatar
陈小聪 committed
12
  title?: React.ReactNode;
13 14
}

陈小聪's avatar
陈小聪 committed
15
export default class DescriptionList extends React.Component<DescriptionListProps, any> {
jim's avatar
jim committed
16
  public static Description: typeof Description;
17
}