@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
18 lines (17 loc) • 753 B
TypeScript
import { default as React } from 'react';
import { VerificationService } from '../lib/types/types';
interface ExtraMessageProps {
verificationService: VerificationService;
suffix: "CollectAboveSubmit";
}
/**
* Extra message component
*
* Easily register extra messages to specific spots in the form using this component
*
* These new regions do NOT have a message by default, but messages can be added simply by specifying the messageId + value
* either in my.sheerid.com or via setOptions(). No need to override a component just to add a message as long as the ExtraMessage
* appears in a desirable spot.
*/
declare const ExtraMessage: ({ verificationService, suffix }: ExtraMessageProps) => React.JSX.Element;
export { ExtraMessage };