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.

fix: export component props

Joseph Hale (Nov 19, 2025, 9:32 PM -0700) 7bd5a2d1 1f087c34

+8 -8
+1 -1
src/components/Row.tsx
··· 8 8 import { StyleSheet, View } from 'react-native'; 9 9 import type { StyleProp, ViewStyle } from 'react-native'; 10 10 11 - interface RowProps { 11 + export interface RowProps { 12 12 children: React.ReactNode; 13 13 style?: StyleProp<ViewStyle>; 14 14 itemStyle?: StyleProp<ViewStyle>;
+1 -1
src/components/TextInput.tsx
··· 9 9 import Color from 'color'; 10 10 import { useMaterialTheme } from '../theme/material/useMaterialTheme'; 11 11 12 - interface TextInputProps { 12 + export interface TextInputProps { 13 13 value: string; 14 14 onChangeText: (text: string) => void; 15 15 placeholder?: string;
+6 -6
src/index.tsx
··· 4 4 // License, v. 2.0. If a copy of the MPL was not distributed with this 5 5 // file, You can obtain one at https://mozilla.org/MPL/2.0/. 6 6 7 - export { default as Button } from './components/Button'; 8 - export { default as Card } from './components/Card'; 9 - export { default as Dialog } from './components/Dialog'; 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 10 export { default as Divider } from './components/Divider'; 11 - export { default as Row } from './components/Row'; 12 - export { default as Text } from './components/Text'; 13 - export { default as TextInput } from './components/TextInput'; 11 + export { default as Row, type RowProps } from './components/Row'; 12 + export { default as Text, type TextProps } from './components/Text'; 13 + export { default as TextInput, type TextInputProps } from './components/TextInput'; 14 14 15 15 export * from './theme';