mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(gif) Added GIF support (GIPHY integration) (#11021)
Show GIF menu in reactions menu Search GIFs using the GIPHY API Show GIFs as images in chat Show GIFs on the thumbnail of the participant that sent it Move GIF focus using up/ down arrows and send with Enter Added analytics
This commit is contained in:
@@ -8,6 +8,11 @@ import { DRAWER_MAX_HEIGHT } from '../../constants';
|
||||
|
||||
type Props = {
|
||||
|
||||
/**
|
||||
* Class name for custom styles.
|
||||
*/
|
||||
className: string,
|
||||
|
||||
/**
|
||||
* The component(s) to be displayed within the drawer menu.
|
||||
*/
|
||||
@@ -40,6 +45,7 @@ const useStyles = makeStyles(theme => {
|
||||
*/
|
||||
function Drawer({
|
||||
children,
|
||||
className = '',
|
||||
isOpen,
|
||||
onClose
|
||||
}: Props) {
|
||||
@@ -72,7 +78,7 @@ function Drawer({
|
||||
className = 'drawer-menu-container'
|
||||
onClick = { handleOutsideClick }>
|
||||
<div
|
||||
className = { `drawer-menu ${styles.drawer}` }
|
||||
className = { `drawer-menu ${styles.drawer} ${className}` }
|
||||
onClick = { handleInsideClick }>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user