@j2inn/app-react
Version:
React implementation of the j2inn-app framework
22 lines (21 loc) • 533 B
TypeScript
/// <reference types="react" />
import { HDict } from 'haystack-core';
/**
* The properties for a record info component.
*/
export interface RecordInfoProps {
/**
* The target to render.
*/
target?: string;
/**
* The render method for the record.
*
* @param record The record to render.
*/
render(record: HDict): JSX.Element;
}
/**
* Loads a record and renders a representation of it.
*/
export declare const RecordInfo: (props: RecordInfoProps) => JSX.Element;