Table of Contents

Interface: ComponentColoring<$Name extends string = string, $Namespace extends string = string>

Type Parameters

$Name

$Name extends string = string

$Namespace

$Namespace extends string = string

Properties

attributes

attributes: {
[qualifiedName: `${string}:${string}`]: string | undefined;
};

Index Signature

[qualifiedName: `${string}:${string}`]: string | undefined

content

content: (
  | string
  | {
  kind: "comment";
  value: string;
}
  | {
  kind: "instruction";
  target: string;
  value: string;
}
  | Color)[];

name

name: $Name;

namespaces?

optional namespaces?: Record<string, string>;

namespaceURI

namespaceURI: $Namespace;

prefix?

optional prefix?: string;