mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 09:05:36 +01:00
Updated icons.
This commit is contained in:
parent
d8b3c8d13c
commit
bf16ade184
23 changed files with 159 additions and 163 deletions
|
|
@ -9,7 +9,7 @@ import {
|
|||
Tooltip,
|
||||
Heading,
|
||||
} from '@umami/react-zen';
|
||||
import { Maximize, Close } from '@/components/icons';
|
||||
import { Maximize, X } from '@/components/icons';
|
||||
import { useMessages } from '@/components/hooks';
|
||||
|
||||
export interface PanelProps extends ColumnProps {
|
||||
|
|
@ -59,7 +59,7 @@ export function Panel({
|
|||
<Row justifyContent="flex-end" alignItems="center">
|
||||
<TooltipTrigger delay={0} isDisabled={isFullscreen}>
|
||||
<Button variant="quiet" onPress={handleFullscreen}>
|
||||
<Icon>{isFullscreen ? <Close /> : <Maximize />}</Icon>
|
||||
<Icon>{isFullscreen ? <X /> : <Maximize />}</Icon>
|
||||
</Button>
|
||||
<Tooltip>{formatMessage(labels.maximize)}</Tooltip>
|
||||
</TooltipTrigger>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue