From f4a6b6f36383e440616c8118851d2d5ea03dc6e4 Mon Sep 17 00:00:00 2001 From: OS-pedrogustavobilro Date: Fri, 11 Jul 2025 11:07:20 +0100 Subject: [PATCH] docs: Clarify AndroidBottomSheet.height --- README.md | 8 ++++---- src/definitions.ts | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e289b23..0d92e66 100644 --- a/README.md +++ b/README.md @@ -284,10 +284,10 @@ Defines the options for opening a URL in the system browser. #### AndroidBottomSheet -| Prop | Type | Description | -| ------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **`height`** | number | Sets the height of the bottom sheet. This will be a minimum of 50% of the screen's height. If no value is passed, we will default to the minimum value. | -| **`isFixed`** | boolean | Sets whether the bottom sheet is fixed. | +| Prop | Type | Description | +| ------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **`height`** | number | Sets the height of the bottom sheet, in pixels. Custom tabs will set the bottom height to at least 50% of the screen. If no value is passed, it will default to the minimum value. | +| **`isFixed`** | boolean | Sets whether the bottom sheet is fixed. | #### iOSSystemBrowserOptions diff --git a/src/definitions.ts b/src/definitions.ts index 39828cd..79e91e8 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -117,9 +117,9 @@ export interface iOSSystemBrowserOptions { } export interface AndroidBottomSheet { - /** Sets the height of the bottom sheet. - * This will be a minimum of 50% of the screen's height. - * If no value is passed, we will default to the minimum value. */ + /** Sets the height of the bottom sheet, in pixels. + * Custom tabs will set the bottom height to at least 50% of the screen. + * If no value is passed, it will default to the minimum value. */ height: number; /** Sets whether the bottom sheet is fixed. */ isFixed: boolean;