Skip to content

Commit d0a0dc6

Browse files
docs: Clarify AndroidBottomSheet.height (#65)
1 parent f029058 commit d0a0dc6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ Defines the options for opening a URL in the system browser.
285285

286286
#### AndroidBottomSheet
287287

288-
| Prop | Type | Description |
289-
| ------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
290-
| **`height`** | <code>number</code> | 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. |
291-
| **`isFixed`** | <code>boolean</code> | Sets whether the bottom sheet is fixed. |
288+
| Prop | Type | Description |
289+
| ------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
290+
| **`height`** | <code>number</code> | 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. |
291+
| **`isFixed`** | <code>boolean</code> | Sets whether the bottom sheet is fixed. |
292292

293293

294294
#### iOSSystemBrowserOptions

src/definitions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ export interface iOSSystemBrowserOptions {
117117
}
118118

119119
export interface AndroidBottomSheet {
120-
/** Sets the height of the bottom sheet.
121-
* This will be a minimum of 50% of the screen's height.
122-
* If no value is passed, we will default to the minimum value. */
120+
/** Sets the height of the bottom sheet, in pixels.
121+
* Custom tabs will set the bottom height to at least 50% of the screen.
122+
* If no value is passed, it will default to the minimum value. */
123123
height: number;
124124
/** Sets whether the bottom sheet is fixed. */
125125
isFixed: boolean;

0 commit comments

Comments
 (0)