mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-13 02:30:29 +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'> & {
|
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}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue