index.d.ts 505 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
2
export interface DescriptionListProps {
jim's avatar
jim committed
3
  layout?: 'horizontal' | 'vertical';
4 5 6
  col?: number;
  title: React.ReactNode;
  gutter?: number;
jim's avatar
jim committed
7 8
  size?: 'large' | 'small';
  style?: React.CSSProperties;
9 10 11 12 13
}

declare class Description extends React.Component<
  {
    term: React.ReactNode;
jim's avatar
jim committed
14
    style?: React.CSSProperties;
15 16 17 18 19 20 21 22 23 24
  },
  any
> {}

export default class DescriptionList extends React.Component<
  DescriptionListProps,
  any
> {
  static Description: typeof Description;
}