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.

17 lines (16 loc) 498 B
import { Page } from '../../ImageCropDialog'; /** * Custom hooks for thumbnail. * @param {string} thumbnail Source for the thumbnail. * @return {Object} Object. */ export declare const useThumbnail: (thumbnail: any) => { page: Page; currentThumbnail: any; isDialogVisible: boolean; isPartDialogHidden: boolean; isThumbnailChanged: boolean; onImageCropOpen: (currentPage: Page) => void; onImageCropCancel: () => void; onImageCropSave: (image: string) => void; };