refactor: remove unnecessary abstractions

This commit is contained in:
Carlos Valente
2025-03-29 21:23:47 +01:00
parent 9db8d996e9
commit ffde3739d1
2 changed files with 1 additions and 3 deletions
@@ -4,13 +4,12 @@ import { IoCopy } from 'react-icons/io5';
import { Button, ButtonGroup, IconButton, Tooltip } from '@chakra-ui/react';
import { tooltipDelayFast } from '../../../ontimeConfig';
import { Size } from '../../models/Util.type';
import copyToClipboard from '../../utils/copyToClipboard';
interface CopyTagProps {
copyValue: string;
label: string;
size?: Size;
size?: 'xs' | 'sm' | 'md' | 'lg';
disabled?: boolean;
onClick?: () => void;
}
@@ -1 +0,0 @@
export type Size = 'xs' | 'sm' | 'md' | 'lg';