forked from github/cinny
add call as a param to pass
This commit is contained in:
@@ -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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user