GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — FEATURE: Add concept of enum values to language core · Issue #28 · PackageFactory/PackageFactory.ComponentEngine

This repository was archived by the owner on Aug 27, 2026. It is now read-only.
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

FEATURE: Add concept of enum values to language core #28

Copy link
Copy link
Open
Open
FEATURE: Add concept of enum values to language core#28
Copy link
Milestone
v1.0

Description

@grebaldi
grebaldi
opened on Jul 3, 2023
Issue body actions

Declaration:

export enum HeadlineVariant {
  REGULAR({
    className: "text-xl text-gray"
  })
  CTA({
    className: "text-xxl text-red"
  })
}

Usage:

export component Headline {
  variant: HeadlineVariant
  text: string

  return <h1 className={variant.className}>{text}</h1>
}
Reacted by Marc Henry Schultz

Activity

  1. grebaldi
    added this to the v1.0 milestone on Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      • v1.0No due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.