import type { BorderType, CircleShape, RectangleShape, ShadowType, SizeType, Spacing } from ".."; import type { BaseComponent } from "../base"; import type { ColorScheme } from "../colors"; import type { Overrides } from "../overrides"; export interface IconBackground { color: ColorScheme | null; shape: RectangleShape | CircleShape; border?: BorderType | null; shadow?: ShadowType | null; } export interface IconProps extends BaseComponent { type: "icon"; visible?: boolean | null; icon_name: string; base_url: string; formats: { svg?: string; png?: string; webp?: string; heic?: string; }; size: SizeType; padding?: Spacing | null; margin?: Spacing | null; color: ColorScheme; icon_background?: IconBackground | null; overrides?: Overrides; }