Fix screenshare button styling
This commit is contained in:
parent
0f6b8f9bb1
commit
51a2027d64
2 changed files with 16 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ import { TooltipTrigger } from "../Tooltip";
|
|||
export const variantToClassName = {
|
||||
default: [styles.button],
|
||||
toolbar: [styles.toolbarButton],
|
||||
toolbarSecondary: [styles.toolbarButtonSecondary],
|
||||
icon: [styles.iconButton],
|
||||
secondary: [styles.secondary],
|
||||
copy: [styles.copyButton],
|
||||
|
|
@ -103,7 +104,7 @@ export function VideoButton({ muted, ...rest }) {
|
|||
export function ScreenshareButton({ enabled, className, ...rest }) {
|
||||
return (
|
||||
<TooltipTrigger>
|
||||
<Button variant="toolbar" {...rest} on={enabled}>
|
||||
<Button variant="toolbarSecondary" {...rest} on={enabled}>
|
||||
<ScreenshareIcon />
|
||||
</Button>
|
||||
{() => (enabled ? "Stop sharing screen" : "Share screen")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue