vben
2021-01-06 144ab577da06ff0bd1f258d1901b87864f232e45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export type ScrollType = 'default' | 'main';
 
export interface CollapseContainerOptions {
  canExpand?: boolean;
  title?: string;
  helpMessage?: Array<any> | string;
}
export interface ScrollContainerOptions {
  enableScroll?: boolean;
  type?: ScrollType;
}
 
export type ScrollActionType = RefType<{
  scrollBottom: () => void;
  getScrollWrap: () => Nullable<HTMLElement>;
  scrollTo: (top: number) => void;
}>;