@apexcura/ui-components 0.0.16-Beta658 → 0.0.16-Beta659

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { UploadFile } from 'antd';
2
2
  import { SizeType } from 'antd/es/config-provider/SizeContext';
3
3
  import { TooltipPlacement } from 'antd/es/tooltip';
4
- import { CSSProperties, JSXElementConstructor, ReactElement } from 'react';
4
+ import React, { CSSProperties, JSXElementConstructor, ReactElement, ReactNode } from 'react';
5
5
  type PaginationType = {
6
6
  name?: string;
7
7
  page?: number;
@@ -49,6 +49,12 @@ interface ChildRecordType {
49
49
  children?: ChildRecordType[];
50
50
  }
51
51
  export type ElementType = {
52
+ optionRender?: (option: {
53
+ key?: string | number | bigint;
54
+ label?: string | ReactNode;
55
+ value?: string | number;
56
+ color?: string;
57
+ }) => React.ReactNode;
52
58
  active?: number;
53
59
  visitedClassName?: string;
54
60
  accept?: string | undefined;
@@ -226,6 +232,5 @@ export type ElementType = {
226
232
  isopen?: boolean;
227
233
  clickedVal?: string;
228
234
  customColor?: boolean;
229
- stringToColour?: Function;
230
235
  };
231
236
  export {};