Skip to content

Export supported languages as a type #126

Description

@felgueres

Feature request:

Would it be possible to export SupportedLanguages from your src/types.ts to make it importable on dist?

ie. import { SupportedLanguages } from "react-code-blocks";

This would be useful to check against unsupported languages and handle exceptions gracefully.

Thanks for considering!

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions