UNPKG

react-icon-cloud

Version:

A React component for rendering an interactive img or word cloud on canvas

17 lines (16 loc) 640 B
import React from 'react'; import { IOptions } from './options'; /** * @param canvasProps Attributes passed to the underlying canvas element * @param children Tags rendered using the provided renderers * @param containerProps Attributes passed to the root div element * @param id Should be provided when using SSR * @param options https://www.goat1000.com/tagcanvas-options.php */ export declare type ICloud = { canvasProps?: React.HTMLAttributes<HTMLCanvasElement>; children: React.ReactFragment; containerProps?: React.HTMLAttributes<HTMLDivElement>; id?: string | number; options?: IOptions; };