Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
37 lines (31 loc) · 839 Bytes

File metadata and controls

37 lines (31 loc) · 839 Bytes
Copy raw file
Download raw file
Edit and raw actions

Defining CodeCards

    interface CodeCard {
        name?: string;
        shortName?: string;
        title?: string;
        label?: string;

        color?: string; // one of semantic ui colors
        description?: string;
        blocksXml?: string;
        typeScript?: string;
        imageUrl?: string;
        youTubeId?: string;
        buttonLabel?: string;
        time?: number;
        url?: string;
        responsive?: boolean;
        cardType?: "example" | "tutorial" | "project";

        header?: string;
        any?: number;
        hardware?: number;
        software?: number;
        blocks?: number;
        javascript?: number;

        icon?: string;
        iconColor?: string;

        onClick?: (e: any) => void; // React event

        target?: string;
        className?: string;
    }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.