Skip to content

getPropValue resulting incorrect value. #152

@v-viyada

Description

@v-viyada

getPropValue(getProp(node.attributes, 'style')) for below code is returning { display: 'none' } where as it should return with expression like { display: (slideIndex === 0) ? "block" : "none" }.

<div className="slide" style={{ display: (slideIndex === 0) ? "block" : "none" }}>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions