mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +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;
|
const ICON_SIZE = ['xsmall', 'small', 'medium', 'large'] as const;
|
||||||
export type IconSize = (typeof ICON_SIZE)[number];
|
export type IconSize = (typeof ICON_SIZE)[number];
|
||||||
|
|
||||||
const ICON_COLOR = ['primary', 'danger', 'success', 'warning', 'text-base'] as const;
|
export type IconColor = TextColor;
|
||||||
export type IconColor = (typeof ICON_COLOR)[number];
|
|
||||||
|
|
||||||
const ICON_ORIENTATION = ['horizontal', 'vertical'] as const;
|
const ICON_ORIENTATION = ['horizontal', 'vertical'] as const;
|
||||||
export type IconOrientation = (typeof ICON_ORIENTATION)[number];
|
export type IconOrientation = (typeof ICON_ORIENTATION)[number];
|
||||||
|
|||||||
Reference in New Issue
Block a user