Utilities and UI components for cross-platform React Native apps
0

Configure Feed

Select the types of activity you want to include in your feed.

refactor: create dedicated components/index.ts

Joseph Hale (Jan 24, 2026, 11:36 PM -0700) 88f38960 457afd3c

+23 -20
+13
src/components/index.ts
··· 1 + // Copyright (c) 2026 Joseph Hale 2 + // 3 + // This Source Code Form is subject to the terms of the Mozilla Public 4 + // License, v. 2.0. If a copy of the MPL was not distributed with this 5 + // file, You can obtain one at https://mozilla.org/MPL/2.0/. 6 + 7 + export { default as Button, type ButtonProps } from './Button'; 8 + export { default as Card, type CardProps } from './Card'; 9 + export { default as Dialog, type DialogProps } from './Dialog'; 10 + export { default as Divider } from './Divider'; 11 + export { default as Row, type RowProps } from './Row'; 12 + export { default as Text, type TextProps } from './Text'; 13 + export { default as TextInput, type TextInputProps } from './TextInput';
+10
src/index.ts
··· 1 + // Copyright (c) 2025 Joseph Hale 2 + // 3 + // This Source Code Form is subject to the terms of the Mozilla Public 4 + // License, v. 2.0. If a copy of the MPL was not distributed with this 5 + // file, You can obtain one at https://mozilla.org/MPL/2.0/. 6 + 7 + export * from './components'; 8 + export * from './theme'; 9 + export * from './stores'; 10 + export * from './settings';
-20
src/index.tsx
··· 1 - // Copyright (c) 2025 Joseph Hale 2 - // 3 - // This Source Code Form is subject to the terms of the Mozilla Public 4 - // License, v. 2.0. If a copy of the MPL was not distributed with this 5 - // file, You can obtain one at https://mozilla.org/MPL/2.0/. 6 - 7 - export { default as Button, type ButtonProps } from './components/Button'; 8 - export { default as Card, type CardProps } from './components/Card'; 9 - export { default as Dialog, type DialogProps } from './components/Dialog'; 10 - export { default as Divider } from './components/Divider'; 11 - export { default as Row, type RowProps } from './components/Row'; 12 - export { default as Text, type TextProps } from './components/Text'; 13 - export { 14 - default as TextInput, 15 - type TextInputProps, 16 - } from './components/TextInput'; 17 - 18 - export * from './theme'; 19 - export * from './stores'; 20 - export * from './settings';