@devfamily/admiral
Version:
Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.
12 lines (11 loc) • 342 B
TypeScript
/// <reference types="react" />
import { CRUDConfig } from './interfaces';
export declare function createCRUD<RecordType extends {
id: number | string;
} = any>(config: CRUDConfig<RecordType>): {
IndexPage: () => JSX.Element;
CreatePage: () => JSX.Element;
UpdatePage: ({ id }: {
id: string;
}) => JSX.Element;
};