fix(modal): backdropBreakpoint is now an exclusive value (#23954)

This commit is contained in:
Liam DeBeasi
2021-09-20 12:35:53 -04:00
committed by GitHub
parent ea39c6e5b3
commit ed455ab4c6
6 changed files with 19 additions and 10 deletions

View File

@ -1488,7 +1488,7 @@ export namespace Components {
*/
"animated": boolean;
/**
* A decimal value between 0 and 1 that indicates the point at which the backdrop will begin to fade in when using a sheet modal. Prior to this point, the backdrop will be hidden and the content underneath the sheet can be interacted with. This value must also be listed in the `breakpoints` array.
* A decimal value between 0 and 1 that indicates the point after which the backdrop will begin to fade in when using a sheet modal. Prior to this point, the backdrop will be hidden and the content underneath the sheet can be interacted with. This value is exclusive meaning the backdrop will become active after the value specified.
*/
"backdropBreakpoint": number;
/**
@ -5136,7 +5136,7 @@ declare namespace LocalJSX {
*/
"animated"?: boolean;
/**
* A decimal value between 0 and 1 that indicates the point at which the backdrop will begin to fade in when using a sheet modal. Prior to this point, the backdrop will be hidden and the content underneath the sheet can be interacted with. This value must also be listed in the `breakpoints` array.
* A decimal value between 0 and 1 that indicates the point after which the backdrop will begin to fade in when using a sheet modal. Prior to this point, the backdrop will be hidden and the content underneath the sheet can be interacted with. This value is exclusive meaning the backdrop will become active after the value specified.
*/
"backdropBreakpoint"?: number;
/**