@onlynative/components 0.0.0-alpha.0

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.
@@ -0,0 +1,36 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { PropsWithChildren } from 'react';
3
+ import { KeyboardAvoidingViewProps, ScrollViewProps, KeyboardEvent, StyleProp, ViewStyle } from 'react-native';
4
+
5
+ interface KeyboardAvoidingWrapperProps extends PropsWithChildren {
6
+ /**
7
+ * Keyboard avoidance strategy.
8
+ * @default 'padding'
9
+ */
10
+ behavior?: KeyboardAvoidingViewProps['behavior'];
11
+ /**
12
+ * Extra offset added to the keyboard height calculation.
13
+ * Useful for accounting for headers or tab bars.
14
+ * @default 0
15
+ */
16
+ keyboardVerticalOffset?: number;
17
+ /**
18
+ * Enable or disable the keyboard avoiding behavior.
19
+ * @default true
20
+ */
21
+ enabled?: boolean;
22
+ /** Props forwarded to the inner `ScrollView`. */
23
+ scrollViewProps?: ScrollViewProps;
24
+ /** Called when the keyboard is about to show (iOS) or has shown (Android). */
25
+ onKeyboardShow?: (event: KeyboardEvent) => void;
26
+ /** Called when the keyboard is about to hide (iOS) or has hidden (Android). */
27
+ onKeyboardHide?: (event: KeyboardEvent) => void;
28
+ /** Style applied to the outer `KeyboardAvoidingView`. */
29
+ style?: StyleProp<ViewStyle>;
30
+ /** Style applied to the inner `ScrollView` contentContainerStyle. */
31
+ contentContainerStyle?: StyleProp<ViewStyle>;
32
+ }
33
+
34
+ declare function KeyboardAvoidingWrapper({ children, behavior, keyboardVerticalOffset, enabled, scrollViewProps, onKeyboardShow, onKeyboardHide, style, contentContainerStyle, }: KeyboardAvoidingWrapperProps): react_jsx_runtime.JSX.Element;
35
+
36
+ export { KeyboardAvoidingWrapper, type KeyboardAvoidingWrapperProps };
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/keyboard-avoiding-wrapper/index.ts
21
+ var keyboard_avoiding_wrapper_exports = {};
22
+ __export(keyboard_avoiding_wrapper_exports, {
23
+ KeyboardAvoidingWrapper: () => KeyboardAvoidingWrapper
24
+ });
25
+ module.exports = __toCommonJS(keyboard_avoiding_wrapper_exports);
26
+
27
+ // src/keyboard-avoiding-wrapper/KeyboardAvoidingWrapper.tsx
28
+ var import_react = require("react");
29
+ var import_react_native2 = require("react-native");
30
+
31
+ // src/keyboard-avoiding-wrapper/styles.ts
32
+ var import_react_native = require("react-native");
33
+ var styles = import_react_native.StyleSheet.create({
34
+ root: {
35
+ flex: 1
36
+ },
37
+ container: {
38
+ flexGrow: 1
39
+ }
40
+ });
41
+
42
+ // src/keyboard-avoiding-wrapper/KeyboardAvoidingWrapper.tsx
43
+ var import_jsx_runtime = require("react/jsx-runtime");
44
+ var isIOS = import_react_native2.Platform.OS === "ios";
45
+ function KeyboardAvoidingWrapper({
46
+ children,
47
+ behavior = "padding",
48
+ keyboardVerticalOffset = 0,
49
+ enabled = true,
50
+ scrollViewProps,
51
+ onKeyboardShow,
52
+ onKeyboardHide,
53
+ style,
54
+ contentContainerStyle
55
+ }) {
56
+ (0, import_react.useEffect)(() => {
57
+ const subscriptions = [];
58
+ if (onKeyboardShow) {
59
+ const showEvent = isIOS ? "keyboardWillShow" : "keyboardDidShow";
60
+ subscriptions.push(
61
+ import_react_native2.Keyboard.addListener(showEvent, onKeyboardShow)
62
+ );
63
+ }
64
+ if (onKeyboardHide) {
65
+ const hideEvent = isIOS ? "keyboardWillHide" : "keyboardDidHide";
66
+ subscriptions.push(
67
+ import_react_native2.Keyboard.addListener(hideEvent, onKeyboardHide)
68
+ );
69
+ }
70
+ return () => {
71
+ subscriptions.forEach((sub) => sub.remove());
72
+ };
73
+ }, [onKeyboardShow, onKeyboardHide]);
74
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
75
+ import_react_native2.KeyboardAvoidingView,
76
+ {
77
+ style: [styles.root, style],
78
+ behavior,
79
+ keyboardVerticalOffset,
80
+ enabled: !isIOS && enabled,
81
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
82
+ import_react_native2.ScrollView,
83
+ {
84
+ automaticallyAdjustKeyboardInsets: isIOS && enabled,
85
+ keyboardShouldPersistTaps: "handled",
86
+ showsVerticalScrollIndicator: false,
87
+ ...scrollViewProps,
88
+ contentContainerStyle: [styles.container, contentContainerStyle],
89
+ children
90
+ }
91
+ )
92
+ }
93
+ );
94
+ }
95
+ // Annotate the CommonJS export names for ESM import in node:
96
+ 0 && (module.exports = {
97
+ KeyboardAvoidingWrapper
98
+ });
@@ -0,0 +1,98 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { PropsWithChildren } from 'react';
3
+ import { StyleProp, ViewStyle, ViewProps, FlexAlignType } from 'react-native';
4
+ import { Edge } from 'react-native-safe-area-context';
5
+ import { MaterialTheme } from '@onlynative/core';
6
+
7
+ interface LayoutProps extends PropsWithChildren {
8
+ /**
9
+ * When `true`, removes all safe area insets for full-screen layout.
10
+ * @default false
11
+ */
12
+ immersive?: boolean;
13
+ /** Explicit set of safe-area edges to apply. Overrides `immersive` when provided. */
14
+ edges?: Edge[];
15
+ /** Additional styles applied to the SafeAreaView container. */
16
+ style?: StyleProp<ViewStyle>;
17
+ }
18
+ declare function Layout({ immersive, edges, children, style }: LayoutProps): react_jsx_runtime.JSX.Element;
19
+
20
+ /** A theme spacing token name or a raw numeric value in dp. */
21
+ type SpacingValue = keyof MaterialTheme['spacing'] | number;
22
+ interface BoxProps extends ViewProps {
23
+ /** Padding on all sides */
24
+ p?: SpacingValue;
25
+ /** Horizontal padding (paddingStart + paddingEnd) */
26
+ px?: SpacingValue;
27
+ /** Vertical padding (paddingTop + paddingBottom) */
28
+ py?: SpacingValue;
29
+ /** Padding top */
30
+ pt?: SpacingValue;
31
+ /** Padding bottom */
32
+ pb?: SpacingValue;
33
+ /** Padding start (left in LTR, right in RTL) */
34
+ ps?: SpacingValue;
35
+ /** Padding end (right in LTR, left in RTL) */
36
+ pe?: SpacingValue;
37
+ /** Margin on all sides */
38
+ m?: SpacingValue;
39
+ /** Horizontal margin (marginStart + marginEnd) */
40
+ mx?: SpacingValue;
41
+ /** Vertical margin (marginTop + marginBottom) */
42
+ my?: SpacingValue;
43
+ /** Margin top */
44
+ mt?: SpacingValue;
45
+ /** Margin bottom */
46
+ mb?: SpacingValue;
47
+ /** Margin start */
48
+ ms?: SpacingValue;
49
+ /** Margin end */
50
+ me?: SpacingValue;
51
+ /** Gap between children */
52
+ gap?: SpacingValue;
53
+ /** Row gap between children */
54
+ rowGap?: SpacingValue;
55
+ /** Column gap between children */
56
+ columnGap?: SpacingValue;
57
+ /** Flex value */
58
+ flex?: number;
59
+ /** Align items along the cross axis */
60
+ align?: FlexAlignType;
61
+ /** Justify content along the main axis */
62
+ justify?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
63
+ /** Background color */
64
+ bg?: string;
65
+ }
66
+ interface RowProps extends BoxProps {
67
+ /**
68
+ * Whether children should wrap to the next line when they overflow.
69
+ * @default false
70
+ */
71
+ wrap?: boolean;
72
+ /**
73
+ * Reverses the layout direction (`row-reverse`).
74
+ * @default false
75
+ */
76
+ inverted?: boolean;
77
+ }
78
+ interface ColumnProps extends BoxProps {
79
+ /**
80
+ * Reverses the layout direction (`column-reverse`).
81
+ * @default false
82
+ */
83
+ inverted?: boolean;
84
+ }
85
+ interface GridProps extends RowProps {
86
+ /** Number of equal-width columns. */
87
+ columns: number;
88
+ }
89
+
90
+ declare function Box({ p, px, py, pt, pb, ps, pe, m, mx, my, mt, mb, ms, me, gap, rowGap, columnGap, flex, align, justify, bg, style, ...viewProps }: BoxProps): react_jsx_runtime.JSX.Element;
91
+
92
+ declare function Column({ inverted, style, ...boxProps }: ColumnProps): react_jsx_runtime.JSX.Element;
93
+
94
+ declare function Grid({ columns, gap, columnGap, rowGap, children, style, ...rowProps }: GridProps): react_jsx_runtime.JSX.Element;
95
+
96
+ declare function Row({ wrap, inverted, style, ...boxProps }: RowProps): react_jsx_runtime.JSX.Element;
97
+
98
+ export { Box, type BoxProps, Column, type ColumnProps, Grid, type GridProps, Layout, type LayoutProps, Row, type RowProps, type SpacingValue };
@@ -0,0 +1,282 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/layout/index.ts
31
+ var layout_exports = {};
32
+ __export(layout_exports, {
33
+ Box: () => Box,
34
+ Column: () => Column,
35
+ Grid: () => Grid,
36
+ Layout: () => Layout,
37
+ Row: () => Row
38
+ });
39
+ module.exports = __toCommonJS(layout_exports);
40
+
41
+ // src/layout/Layout.tsx
42
+ var import_react = require("react");
43
+ var import_react_native = require("react-native");
44
+ var import_react_native_safe_area_context = require("react-native-safe-area-context");
45
+ var import_core = require("@onlynative/core");
46
+ var import_jsx_runtime = require("react/jsx-runtime");
47
+ var defaultEdges = ["bottom"];
48
+ function resolveEdges(immersive, edges) {
49
+ if (edges) {
50
+ return edges;
51
+ }
52
+ if (immersive) {
53
+ return [];
54
+ }
55
+ return defaultEdges;
56
+ }
57
+ var styles = import_react_native.StyleSheet.create({
58
+ root: {
59
+ flex: 1
60
+ }
61
+ });
62
+ function removeBackgroundColor(style) {
63
+ if (!style) {
64
+ return void 0;
65
+ }
66
+ const flattenedStyle = import_react_native.StyleSheet.flatten(style);
67
+ if (!flattenedStyle || flattenedStyle.backgroundColor === void 0) {
68
+ return style;
69
+ }
70
+ const styleWithoutBackground = { ...flattenedStyle };
71
+ delete styleWithoutBackground.backgroundColor;
72
+ return styleWithoutBackground;
73
+ }
74
+ function Layout({ immersive, edges, children, style }) {
75
+ const theme = (0, import_core.useTheme)();
76
+ const themeBackgroundStyle = (0, import_react.useMemo)(
77
+ () => ({ backgroundColor: theme.colors.background }),
78
+ [theme.colors.background]
79
+ );
80
+ const styleWithoutBackground = (0, import_react.useMemo)(
81
+ () => removeBackgroundColor(style),
82
+ [style]
83
+ );
84
+ const safeAreaEdges = (0, import_react.useMemo)(
85
+ () => resolveEdges(immersive, edges),
86
+ [immersive, edges]
87
+ );
88
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
89
+ import_react_native_safe_area_context.SafeAreaView,
90
+ {
91
+ style: [styles.root, themeBackgroundStyle, styleWithoutBackground],
92
+ edges: safeAreaEdges,
93
+ children
94
+ }
95
+ );
96
+ }
97
+
98
+ // src/layout/Box.tsx
99
+ var import_react2 = require("react");
100
+ var import_react_native2 = require("react-native");
101
+ var import_core2 = require("@onlynative/core");
102
+
103
+ // src/layout/resolveSpacing.ts
104
+ function resolveSpacing(spacing, value) {
105
+ if (value === void 0) return void 0;
106
+ if (typeof value === "number") return value;
107
+ return spacing[value];
108
+ }
109
+
110
+ // src/layout/Box.tsx
111
+ var import_jsx_runtime2 = require("react/jsx-runtime");
112
+ function Box({
113
+ p,
114
+ px,
115
+ py,
116
+ pt,
117
+ pb,
118
+ ps,
119
+ pe,
120
+ m,
121
+ mx,
122
+ my,
123
+ mt,
124
+ mb,
125
+ ms,
126
+ me,
127
+ gap,
128
+ rowGap,
129
+ columnGap,
130
+ flex,
131
+ align,
132
+ justify,
133
+ bg,
134
+ style,
135
+ ...viewProps
136
+ }) {
137
+ const { spacing } = (0, import_core2.useTheme)();
138
+ const layoutStyle = (0, import_react2.useMemo)(() => {
139
+ const s = (v) => resolveSpacing(spacing, v);
140
+ return {
141
+ ...p !== void 0 && { padding: s(p) },
142
+ ...px !== void 0 && {
143
+ paddingStart: s(px),
144
+ paddingEnd: s(px)
145
+ },
146
+ ...py !== void 0 && {
147
+ paddingTop: s(py),
148
+ paddingBottom: s(py)
149
+ },
150
+ ...pt !== void 0 && { paddingTop: s(pt) },
151
+ ...pb !== void 0 && { paddingBottom: s(pb) },
152
+ ...ps !== void 0 && { paddingStart: s(ps) },
153
+ ...pe !== void 0 && { paddingEnd: s(pe) },
154
+ ...m !== void 0 && { margin: s(m) },
155
+ ...mx !== void 0 && {
156
+ marginStart: s(mx),
157
+ marginEnd: s(mx)
158
+ },
159
+ ...my !== void 0 && {
160
+ marginTop: s(my),
161
+ marginBottom: s(my)
162
+ },
163
+ ...mt !== void 0 && { marginTop: s(mt) },
164
+ ...mb !== void 0 && { marginBottom: s(mb) },
165
+ ...ms !== void 0 && { marginStart: s(ms) },
166
+ ...me !== void 0 && { marginEnd: s(me) },
167
+ ...gap !== void 0 && { gap: s(gap) },
168
+ ...rowGap !== void 0 && { rowGap: s(rowGap) },
169
+ ...columnGap !== void 0 && { columnGap: s(columnGap) },
170
+ ...flex !== void 0 && { flex },
171
+ ...align !== void 0 && { alignItems: align },
172
+ ...justify !== void 0 && { justifyContent: justify },
173
+ ...bg !== void 0 && { backgroundColor: bg }
174
+ };
175
+ }, [
176
+ spacing,
177
+ p,
178
+ px,
179
+ py,
180
+ pt,
181
+ pb,
182
+ ps,
183
+ pe,
184
+ m,
185
+ mx,
186
+ my,
187
+ mt,
188
+ mb,
189
+ ms,
190
+ me,
191
+ gap,
192
+ rowGap,
193
+ columnGap,
194
+ flex,
195
+ align,
196
+ justify,
197
+ bg
198
+ ]);
199
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_native2.View, { ...viewProps, style: [layoutStyle, style] });
200
+ }
201
+
202
+ // src/layout/Column.tsx
203
+ var import_react3 = require("react");
204
+ var import_jsx_runtime3 = require("react/jsx-runtime");
205
+ function Column({ inverted = false, style, ...boxProps }) {
206
+ const directionStyle = (0, import_react3.useMemo)(
207
+ () => ({
208
+ flexDirection: inverted ? "column-reverse" : "column"
209
+ }),
210
+ [inverted]
211
+ );
212
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Box, { ...boxProps, style: [directionStyle, style] });
213
+ }
214
+
215
+ // src/layout/Grid.tsx
216
+ var import_react5 = __toESM(require("react"));
217
+ var import_react_native3 = require("react-native");
218
+ var import_core3 = require("@onlynative/core");
219
+
220
+ // src/layout/Row.tsx
221
+ var import_react4 = require("react");
222
+ var import_jsx_runtime4 = require("react/jsx-runtime");
223
+ function Row({
224
+ wrap = false,
225
+ inverted = false,
226
+ style,
227
+ ...boxProps
228
+ }) {
229
+ const directionStyle = (0, import_react4.useMemo)(
230
+ () => ({
231
+ flexDirection: inverted ? "row-reverse" : "row",
232
+ ...wrap && { flexWrap: "wrap" }
233
+ }),
234
+ [wrap, inverted]
235
+ );
236
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Box, { ...boxProps, style: [directionStyle, style] });
237
+ }
238
+
239
+ // src/layout/Grid.tsx
240
+ var import_jsx_runtime5 = require("react/jsx-runtime");
241
+ function Grid({
242
+ columns,
243
+ gap,
244
+ columnGap,
245
+ rowGap,
246
+ children,
247
+ style,
248
+ ...rowProps
249
+ }) {
250
+ const { spacing } = (0, import_core3.useTheme)();
251
+ const resolvedColumnGap = resolveSpacing(spacing, columnGap != null ? columnGap : gap);
252
+ const resolvedRowGap = resolveSpacing(spacing, rowGap != null ? rowGap : gap);
253
+ const halfGap = resolvedColumnGap ? resolvedColumnGap / 2 : 0;
254
+ const cellStyle = (0, import_react5.useMemo)(
255
+ () => ({
256
+ flexBasis: `${100 / columns}%`,
257
+ flexShrink: 1,
258
+ paddingStart: halfGap,
259
+ paddingEnd: halfGap
260
+ }),
261
+ [columns, halfGap]
262
+ );
263
+ const rowStyle = (0, import_react5.useMemo)(
264
+ () => ({
265
+ marginStart: -halfGap,
266
+ marginEnd: -halfGap
267
+ }),
268
+ [halfGap]
269
+ );
270
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Row, { wrap: true, rowGap: resolvedRowGap, ...rowProps, style: [rowStyle, style], children: import_react5.default.Children.map(
271
+ children,
272
+ (child) => child != null ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_native3.View, { style: cellStyle, children: child }) : null
273
+ ) });
274
+ }
275
+ // Annotate the CommonJS export names for ESM import in node:
276
+ 0 && (module.exports = {
277
+ Box,
278
+ Column,
279
+ Grid,
280
+ Layout,
281
+ Row
282
+ });
@@ -0,0 +1,60 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+ import { ViewProps, StyleProp, ViewStyle } from 'react-native';
4
+
5
+ interface ListProps extends ViewProps {
6
+ /** Content rendered inside the list container. */
7
+ children: ReactNode;
8
+ style?: StyleProp<ViewStyle>;
9
+ }
10
+ /** Number of text lines the item displays, used to determine minimum height. */
11
+ type ListItemLines = 1 | 2 | 3;
12
+ interface ListItemProps extends ViewProps {
13
+ /** Primary text displayed on the list item. */
14
+ headlineText: string;
15
+ /** Secondary text displayed below the headline. */
16
+ supportingText?: string;
17
+ /** Text displayed above the headline (e.g. category label). */
18
+ overlineText?: string;
19
+ /** Short text displayed at the trailing edge (e.g. "100+", timestamp). */
20
+ trailingSupportingText?: string;
21
+ /** Content rendered before the text block (icon, avatar, image, checkbox). */
22
+ leadingContent?: ReactNode;
23
+ /** Content rendered after the text block (icon, switch, checkbox). */
24
+ trailingContent?: ReactNode;
25
+ /** When provided, the item becomes interactive (Pressable). Omit to render as a plain View. */
26
+ onPress?: () => void;
27
+ /**
28
+ * Disables the press interaction and reduces opacity. Only effective when `onPress` is provided.
29
+ * @default false
30
+ */
31
+ disabled?: boolean;
32
+ /**
33
+ * Override the container (background) color.
34
+ * State-layer colors (hover, press) are derived automatically.
35
+ */
36
+ containerColor?: string;
37
+ /**
38
+ * Maximum number of lines for supportingText before truncating.
39
+ * @default 1
40
+ */
41
+ supportingTextNumberOfLines?: number;
42
+ style?: StyleProp<ViewStyle>;
43
+ }
44
+ interface ListDividerProps extends ViewProps {
45
+ /**
46
+ * When true, adds a leading inset so the divider aligns with text
47
+ * that follows a leading icon (56dp from the start edge).
48
+ * @default false
49
+ */
50
+ inset?: boolean;
51
+ style?: StyleProp<ViewStyle>;
52
+ }
53
+
54
+ declare function List({ children, style, ...props }: ListProps): react_jsx_runtime.JSX.Element;
55
+
56
+ declare function ListItem({ headlineText, supportingText, overlineText, trailingSupportingText, leadingContent, trailingContent, onPress, disabled, containerColor, supportingTextNumberOfLines, style, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
57
+
58
+ declare function ListDivider({ inset, style, ...props }: ListDividerProps): react_jsx_runtime.JSX.Element;
59
+
60
+ export { List, ListDivider, type ListDividerProps, ListItem, type ListItemLines, type ListItemProps, type ListProps };