UNPKG

@100mslive/react-native-room-kit

Version:

100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.

25 lines 915 B
import * as React from 'react'; import type { StyleProp, TextInputProps, TextStyle, TouchableOpacityProps, ViewStyle } from 'react-native'; export type HMSTextInputProps = TextInputProps & { value: string; focusedStyle?: StyleProp<TextStyle>; leftIcon?: React.ReactElement; containerStyle?: StyleProp<ViewStyle>; focusedContainerStyle?: StyleProp<ViewStyle>; } & ({ rightIcon: React.ReactElement; containerStyle?: StyleProp<ViewStyle>; focusedContainerStyle?: StyleProp<ViewStyle>; } | { rightIcon?: undefined; sendIcon: boolean; sendIconTestID?: TouchableOpacityProps['testID']; onSendIconPress(): void; containerStyle?: StyleProp<ViewStyle>; focusedContainerStyle?: StyleProp<ViewStyle>; } | { rightIcon?: undefined; sendIcon?: undefined; }); export declare const HMSTextInput: React.FC<HMSTextInputProps>; //# sourceMappingURL=HMSTextInput.d.ts.map