code refactor

This commit is contained in:
MaysWind
2025-02-09 21:26:02 +08:00
parent e665fac956
commit a21bc7aad7
3 changed files with 8 additions and 4 deletions
+3
View File
@@ -1,3 +1,6 @@
export type ComponentDensity = 'default' | 'comfortable' | 'compact';
export type InputVariant = 'filled' | 'underlined' | 'outlined' | 'plain' | 'solo' | 'solo-inverted' | 'solo-filled';
export function getOuterHeight(element: HTMLElement | null): number {
if (!element) {
return 0;