admin-bro
Version:
Admin panel for apps written in node.js
14 lines (13 loc) • 402 B
TypeScript
import AdminBro from '../admin-bro';
declare type LoginTemplateAttributes = {
/**
* action which should be called when user clicks submit button
*/
action: string;
/**
* Error message to present in the form
*/
errorMessage?: string;
};
declare const html: (admin: AdminBro, { action, errorMessage }: LoginTemplateAttributes) => Promise<string>;
export default html;