mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
chore(editor): Fix Icon type (#11324)
This commit is contained in:
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];
|
||||
|
|
Loading…
Reference in a new issue