mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-12 02:00:28 +03:00
add call as a param to pass
This commit is contained in:
parent
7ce3b40037
commit
8c6a6265eb
1 changed files with 3 additions and 2 deletions
|
|
@ -46,10 +46,11 @@ export const RoomIcon = forwardRef<
|
|||
Omit<ComponentProps<typeof Icon>, 'src'> & {
|
||||
joinRule: JoinRule;
|
||||
space?: boolean;
|
||||
call?: boolean;
|
||||
}
|
||||
>(({ joinRule, space, ...props }, ref) => (
|
||||
>(({ joinRule, space, call, ...props }, ref) => (
|
||||
<Icon
|
||||
src={joinRuleToIconSrc(Icons, joinRule, space || false) ?? Icons.Hash}
|
||||
src={joinRuleToIconSrc(Icons, joinRule, space || false, call || false) ?? Icons.Hash}
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue