Added support to suppressHeaderDarkening

This commit is contained in:
Alexander Cerutti
2025-01-09 00:57:44 +01:00
parent c68fecddd4
commit 64394d044f

View File

@@ -258,6 +258,13 @@ export interface PassProps {
* Will add a button among options near "share" * Will add a button among options near "share"
*/ */
sellURL?: string; sellURL?: string;
/**
* New field for iOS 18 Event Ticket.
* Will remove an automatic shadow in the new
* event ticket layouts.
*/
suppressHeaderDarkening?: boolean;
} }
/** /**
@@ -471,6 +478,13 @@ export const OverridablePassProps = Joi.object<OverridablePassProps>({
* Will add a button among options near "share" * Will add a button among options near "share"
*/ */
sellURL: Joi.string(), sellURL: Joi.string(),
/**
* New field for iOS 18 Event Ticket.
* Will remove an automatic shadow in the new
* event ticket layouts.
*/
suppressHeaderDarkening: Joi.boolean(),
}).with("webServiceURL", "authenticationToken"); }).with("webServiceURL", "authenticationToken");
export const PassProps = Joi.object< export const PassProps = Joi.object<