UNPKG

@tinacms/toolkit

Version:

Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.

24 lines (22 loc) 698 B
/** */ import * as React from 'react'; interface ImageUploadProps { onDrop: (files: any, fileRejections: any) => Promise<void>; onClear?: () => void; onClick?: () => void; value?: string; src?: string; loading?: boolean; } export declare const StyledImage: ({ src }: { src: any; }) => JSX.Element; export declare const StyledFile: ({ src }: { src: any; }) => JSX.Element; export declare const ImageUpload: React.ForwardRefExoticComponent<ImageUploadProps & React.RefAttributes<HTMLButtonElement>>; export declare const DeleteImageButton: ({ onClick, }: { onClick: (_event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void; }) => JSX.Element; export {};