Interface representing information about a component.

This interface defines the structure for specifying details about a component, including its name, file location, type, properties, and other attributes.

interface ComponentInfo {
    allowedChildren: string[];
    allowedParents?: string[];
    comments?: string[];
    constructorProps: {
        [id: string]: Prop;
    };
    defaultChildren?: DefaultChild[];
    deprecated?: boolean;
    file: string;
    group?: string;
    icon?: string;
    isDefault?: boolean;
    name: string;
    props: {
        [id: string]: Prop;
    };
    streams: StreamInfo[];
    streamsObjects: {
        [id: string]: string;
    };
    tags: string[];
    type: ComponentInfoType;
}

Properties

allowedChildren: string[]
allowedParents?: string[]
comments?: string[]
constructorProps: {
    [id: string]: Prop;
}
defaultChildren?: DefaultChild[]
deprecated?: boolean
file: string
group?: string
icon?: string
isDefault?: boolean
name: string
props: {
    [id: string]: Prop;
}
streams: StreamInfo[]
streamsObjects: {
    [id: string]: string;
}
tags: string[]