add call as a param to pass

This commit is contained in:
GigiaJ 2025-05-01 16:56:58 -05:00
parent 7ce3b40037
commit 8c6a6265eb

View file

@ -46,10 +46,11 @@ export const RoomIcon = forwardRef<
Omit<ComponentProps<typeof Icon>, 'src'> & { Omit<ComponentProps<typeof Icon>, 'src'> & {
joinRule: JoinRule; joinRule: JoinRule;
space?: boolean; space?: boolean;
call?: boolean;
} }
>(({ joinRule, space, ...props }, ref) => ( >(({ joinRule, space, call, ...props }, ref) => (
<Icon <Icon
src={joinRuleToIconSrc(Icons, joinRule, space || false) ?? Icons.Hash} src={joinRuleToIconSrc(Icons, joinRule, space || false, call || false) ?? Icons.Hash}
{...props} {...props}
ref={ref} ref={ref}
/> />