Skip to content

Export supported languages as a type #126

@felgueres

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!

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