UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

32 lines 1.11 kB
import { HTMLAttributes } from 'react'; /** * Whiteboard image item interface */ export interface WhiteboardImage { id: string; imageUrl: string; title?: string; } /** * Whiteboard component props interface */ export interface WhiteboardProps extends HTMLAttributes<HTMLDivElement> { /** Array of images to display in the whiteboard */ images: WhiteboardImage[]; /** Whether to show download button on images */ showDownload?: boolean; /** Custom className for the container */ className?: string; /** Callback when download button is clicked */ onDownload?: (image: WhiteboardImage) => void; /** Maximum number of images to display per row on desktop */ imagesPerRow?: 2 | 3 | 4; } /** * Whiteboard component for displaying classroom board images * @param props Component properties * @returns Whiteboard component */ declare const Whiteboard: ({ images, showDownload, className, onDownload, imagesPerRow, ...rest }: WhiteboardProps) => import("react/jsx-runtime").JSX.Element; export default Whiteboard; //# sourceMappingURL=Whiteboard.d.ts.map