Add UI for local volume control
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
4ad4cff23f
commit
eda8404144
6 changed files with 222 additions and 19 deletions
|
|
@ -30,6 +30,7 @@ import { ReactComponent as SettingsIcon } from "../icons/Settings.svg";
|
|||
import { ReactComponent as AddUserIcon } from "../icons/AddUser.svg";
|
||||
import { ReactComponent as ArrowDownIcon } from "../icons/ArrowDown.svg";
|
||||
import { TooltipTrigger } from "../Tooltip";
|
||||
import { ReactComponent as OverflowIcon } from "../icons/Overflow.svg";
|
||||
|
||||
export type ButtonVariant =
|
||||
| "default"
|
||||
|
|
@ -237,3 +238,20 @@ export function InviteButton({
|
|||
</TooltipTrigger>
|
||||
);
|
||||
}
|
||||
|
||||
export function OptionsButton({
|
||||
className,
|
||||
...rest
|
||||
}: {
|
||||
className?: string;
|
||||
[index: string]: unknown;
|
||||
}) {
|
||||
return (
|
||||
<TooltipTrigger>
|
||||
<Button variant="icon" {...rest}>
|
||||
<OverflowIcon />
|
||||
</Button>
|
||||
{() => "Options"}
|
||||
</TooltipTrigger>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue