converse.js
Version:
Browser based XMPP chat client
18 lines (16 loc) • 542 B
text/typescript
export type Field = {
type: 'text'|'checkbox'
label: string; // The form label for the input field.
name: string; // The name for the input field.
challenge?: string; // A challenge value that must be provided by the user.
challenge_failed?: boolean;
placeholder?: string; // The placeholder for the input field.
required?: boolean; // Whether the field is required or not
value?: string;
}
export type ToastProperties = {
title?: string;
body?: string;
name: string;
type: 'info'|'danger';
}