mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
chore(editor): Fix Icon type (#11324)
This commit is contained in:
committed by
GitHub
parent
f67c0710e1
commit
0b9b166bbc
@@ -1,8 +1,9 @@
|
||||
import type { TextColor } from 'n8n-design-system/types/text';
|
||||
|
||||
const ICON_SIZE = ['xsmall', 'small', 'medium', 'large'] as const;
|
||||
export type IconSize = (typeof ICON_SIZE)[number];
|
||||
|
||||
const ICON_COLOR = ['primary', 'danger', 'success', 'warning', 'text-base'] as const;
|
||||
export type IconColor = (typeof ICON_COLOR)[number];
|
||||
export type IconColor = TextColor;
|
||||
|
||||
const ICON_ORIENTATION = ['horizontal', 'vertical'] as const;
|
||||
export type IconOrientation = (typeof ICON_ORIENTATION)[number];
|
||||
|
||||
Reference in New Issue
Block a user