Skip to content

Cannot read 'textColor' of undefined #64

@hannasage

Description

@hannasage

Problem statement

Seems like theme is undefined. This is the error received when trying to use the component:

Screen Shot 2022-05-24 at 3 08 12 PM

<CopyBlock
    text={...}
    language={"typescript"}
    theme={dracula}
    showLineNumbers
    codeBlock
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions