UNPKG

admin-bro

Version:
14 lines (13 loc) 402 B
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;