Skip to content

Conversation

hoangSTS
Copy link
Contributor

No description provided.

@hoangSTS hoangSTS changed the title feat: refactor custom bubble image and video feat: [FC-17] refactor custom bubble image and video Jul 19, 2024
} from 'react-native-fast-image';
import { MessageTypes, type MessageProps } from '../../../interfaces';

export interface CustomImageVideoBubbleProps {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to CustomImageBubbleProps

bubbleContainerStyle?: StyleProp<ViewStyle>;
bubbleStyle?: StyleProp<ViewStyle>;
imageStyle?: StyleProp<FastImageStyle>;
videoContainerStyle?: StyleProp<ViewStyle>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove videostyle props

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

import Video, { VideoRef } from 'react-native-video';
import { CustomImageVideoBubbleProps } from './CustomImageBubble';

export const CustomVideoBubble: React.FC<CustomImageVideoBubbleProps> = ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we create new CustomVideoBubbleProps in this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants