Skip to content

Commit

Permalink
resolved npm publish dry run warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit committed Oct 29, 2024
1 parent 56cd2c5 commit dd670ac
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export const HMSBaseButton: React.FC<HMSBaseButtonProps> = ({
wrapWithGestureDetector,
useTouchableOpacity,
}) => {
const Touchable = useTouchableOpacity ? TouchableOpacity : TouchableHighlight;
const Touchable = (
useTouchableOpacity ? TouchableOpacity : TouchableHighlight
) as React.ElementType;

const button = (
<Touchable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const HMSSendMessageInput: React.FC<HMSSendMessageInputProps> = ({
onChangeText={setMessage}
placeholder="Send a message..."
autoCapitalize="sentences"
autoCompleteType="off"
autoComplete="off"
containerStyle={[
styles.inputContainer,
hmsRoomStyles.containerStyle,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const HMSTextInput: React.FC<HMSTextInputProps> = ({
onChangeText={onChangeText}
placeholder={resetProps.placeholder ?? 'Enter Name...'}
autoCapitalize={resetProps.autoCapitalize ?? 'words'}
autoCompleteType={resetProps.autoCompleteType ?? 'name'}
autoComplete={resetProps.autoComplete ?? 'name'}
placeholderTextColor={
resetProps.placeholderTextColor ?? onSurfaceMediumColor
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export const PollQuestion: React.FC<PollQuestionProps> = ({
value={pollQuestion.title}
autoFocus={false}
autoCapitalize="none"
autoCompleteType="off"
autoComplete="off"
onChangeText={(value) =>
onQuestionFieldChange(currentQuestionIndex, 'title', value)
}
Expand Down Expand Up @@ -419,7 +419,7 @@ export const PollQuestion: React.FC<PollQuestionProps> = ({
style={hmsRoomStyles.optionText}
value={option[1]}
autoCapitalize="none"
autoCompleteType="off"
autoComplete="off"
autoFocus={false}
onChangeText={(value) =>
onEditPollQuestionOption(currentQuestionIndex, idx, value)
Expand Down Expand Up @@ -503,7 +503,7 @@ export const PollQuestion: React.FC<PollQuestionProps> = ({
value={pollQuestion.pointWeightage}
autoFocus={false}
autoCapitalize="none"
autoCompleteType="off"
autoComplete="off"
keyboardType={Platform.OS === 'android' ? 'numeric' : 'number-pad'}
onChangeText={(value) =>
onQuestionFieldChange(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function computeTileWidthAndHeight(
): {
width?: ViewStyle['width'];
height?: ViewStyle['height'];
aspectRatio?: ViewStyle['aspectRatio'];
aspectRatio?: number | undefined;
} {
const { type, isLandscapeOrientation } = config || {
type: 'default',
Expand Down

0 comments on commit dd670ac

Please sign in to comment.