ados-rcm 1.1.38 → 1.1.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -102,6 +102,16 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
102
102
  collapsed?: TIcons | Exclude<React.ReactNode, string>;
103
103
  expanded?: TIcons | Exclude<React.ReactNode, string>;
104
104
  };
105
+ /**
106
+ * indents? : { collapsed?: React.ReactNode; expanded?: React.ReactNode; isLast?: React.ReactNode }
107
+ *
108
+ * Description : indents of ATree
109
+ */
110
+ indents?: {
111
+ callapsed?: React.ReactNode;
112
+ expanded?: React.ReactNode;
113
+ isLast?: React.ReactNode;
114
+ };
105
115
  /**
106
116
  * iconWidth? : number
107
117
  *
@@ -9,6 +9,11 @@ export interface IATreeItemProps<T> {
9
9
  item: T;
10
10
  selectDisabled?: (item: T) => boolean | string | undefined;
11
11
  isParentDisabled?: boolean | string;
12
+ extIndents?: {
13
+ callapsed?: React.ReactNode;
14
+ expanded?: React.ReactNode;
15
+ isLast?: React.ReactNode;
16
+ };
12
17
  indents: EIndentState[];
13
18
  useExpand: TUseValues<T[]>;
14
19
  useSelect: TUseValues<T[]>;
@@ -37,10 +42,13 @@ export interface IATreeItemProps<T> {
37
42
  TreeItemStyle?: TCanCallback<IATreeItemProps<T>, React.CSSProperties>;
38
43
  TreeItemClassName?: TCanCallback<IATreeItemProps<T>, string>;
39
44
  }
40
- declare enum EIndentState {
45
+ export declare enum EIndentState {
41
46
  Collapsed = "Collapsed",
42
47
  Expanded = "Expanded",
43
48
  IsLast = "IsLast"
44
49
  }
45
50
  export declare const ATreeItem: <T extends IATreeItem<T>>(props: IATreeItemProps<T>) => React.ReactNode;
46
- export {};
51
+ export interface IIndentProps {
52
+ iconWidth: number;
53
+ isLast?: boolean;
54
+ }