Skip to content

Preview variables string or boolean? #81

@rafaeldwan

Description

@rafaeldwan

In the example code if previewVariables is not present false is supplied. However, the PropType given is string. Shouldn't the default value instead be an empty string, '', not false?

I ask because this is generating a warning,

Failed prop type: Invalid prop `previewVariables` of type `boolean` supplied to `GoogleTagManager`, expected `string`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions