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.

13 lines (12 loc) 419 B
/// <reference types="react" /> import { Media } from '../../packages/core'; interface MediaItemProps { item: Media & { new?: boolean; }; onClick(_item: Media | false): void; active: boolean; } export declare function ListMediaItem({ item, onClick, active }: MediaItemProps): JSX.Element; export declare function GridMediaItem({ item, active, onClick }: MediaItemProps): JSX.Element; export {};