src/common/typeConfig.ts -> enum ComponentType
Customized Prop Types​
These are customized props by our framework to speed up development process. Not all component props will be exists below, please check the original component site for further information.
| Property | PropType | Required | Default | Description |
|---|
| referredPageConfig | IPageConfig | Yes | - | Page config to use for the table and related features |
| referredTabIndex | number | - | 0 | Tab index in the specified page config |
| customEvents | ITableCustomEvent | - | - | |
| forceGetRecordFromPageConfig | boolean | - | true | |
| hideRefreshButton | boolean | - | false | |
| hideFilters | boolean | - | false | |
| filterBy | Function | - | - | (params: object, type: ITypeRuntime) |
| refreshButtonProps | object | - | - | ICustomProps & { refreshButtonText?: string } |
UPLOAD_CONTAINER​
| Property | PropType | Required | Default | Description |
|---|
| accept | string | - | - | see. https://www.w3schools.com/tags/att_input_accept.asp |
| disabled | boolean | - | false | Adding new files not permitted when true |
| onAdd | Function | - | - | (newFile :any) |
| onRemove | Function | - | - | (removedIndex: number) |
| onChange | Function | - | - | (files: any[]) |
| maxFileSize | number | - | 10240 | (KB) Limit for each individual file to be able to uploaded. |
FILE_UPLOADER​
| Property | PropType | Required | Default | Description |
|---|
| accept | string | - | - | see. https://www.w3schools.com/tags/att_input_accept.asp |
| mode | string | - | - | Default file is an object with mimeType etc. if mode value is "base64" then only this value will be managed. |
| data | any | - | - | File object or base64 value according to specified mode. |
| onChange | Function | - | - | (file: any) |
| disabled | boolean | - | false | Adding new files not permitted when true. |
| maxFileSize | number | - | 10240 | (KB) Limit for each individual file to be able to uploaded. |
| modalSize | string | - | 'lg' | Preview modal size. |
| style | string | - | - | Styling prop for container element. |
| imageStyle | string | - | - | Styling prop for image preview element. |