Interface DisplayOptions

This interface can be optionally returned by the package for any given PCD, which allows the package some degree of control over how the PCD is displayed in Zupass.

interface DisplayOptions {
    displayName?: string;
    header?: string;
}

Properties

displayName?: string

Shown to the user in the GenericProveScreen, allowing them to disambiguate between different pcds of the same type. In the future, we'll have a better way to disambiguate between them.

header?: string

Shown to the user in the main page of Zupass, where they can see all of their cards. If header is undefined, the Zupass will use getHeader on PCDUI.

Generated using TypeDoc