feat: allow to open up to three terminals (#22)

This commit is contained in:
Dominic Elm
2024-07-31 13:18:41 +02:00
committed by GitHub
parent 49196273b0
commit e5ed23c33d
6 changed files with 64 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
import { memo } from 'react';
import { classNames } from '~/utils/classNames';
type IconSize = 'sm' | 'md' | 'xl' | 'xxl';
type IconSize = 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
interface BaseIconButtonProps {
size?: IconSize;
@@ -64,6 +64,8 @@ function getIconSize(size: IconSize) {
return 'text-sm';
} else if (size === 'md') {
return 'text-md';
} else if (size === 'lg') {
return 'text-lg';
} else if (size === 'xl') {
return 'text-xl';
} else {