@lotics/ui 47.10.0 → 47.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/pressable_row.tsx +6 -1
package/package.json
CHANGED
package/src/pressable_row.tsx
CHANGED
|
@@ -32,7 +32,12 @@ export interface PressableRowProps {
|
|
|
32
32
|
* `Pressable` with role="button" + "Open …" label. Wrap the row body with it
|
|
33
33
|
* only when the body is non-interactive by construction; a body that can
|
|
34
34
|
* carry its own controls gets an EMPTY absolutely-positioned door as their
|
|
35
|
-
* sibling instead (a button must not contain a button — see `TableRow`).
|
|
35
|
+
* sibling instead (a button must not contain a button — see `TableRow`).
|
|
36
|
+
*
|
|
37
|
+
* The cell that takes the slack says so: `flex: 1, minWidth: 0`. This is a
|
|
38
|
+
* flex row, and a react-native `View` in one sizes to its max-content and
|
|
39
|
+
* never shrinks (`flexShrink: 0`, unlike the web), so a body left unstated
|
|
40
|
+
* lays out at the width of its longest line and overflows the container. */
|
|
36
41
|
children: ReactNode;
|
|
37
42
|
/** Layout only (gap, minHeight overrides). The surface owns its press
|
|
38
43
|
* states — never pass backgroundColor for hover/selected. */
|