UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

36 lines (35 loc) 937 B
import { Page } from '../../ImageCropDialog'; import { ICropDimensions } from '../../ImageCropDialog/model'; export interface IOption { id: string | number; name: string; [key: string]: any; } export interface IPartData { id: string; name: string; description?: string; externalName?: string; material?: string; customer?: string; designMaterial?: string; customerReference?: string; materialForm?: number | string; [key: string]: any; } export interface IPartThumbnail { page: Page; currentThumbnail?: string; cropDimensions?: ICropDimensions; isDialogVisible: boolean; isPartDialogHidden: boolean; isThumbnailChanged: boolean; onImageCropOpen: (page: Page) => void; onImageCropCancel: () => void; onImageCropSave: (image: string) => void; } export interface IFileModel { sourceData?: string; isChanged?: boolean; [key: string]: any; }