Skip to content

@bem-react/classname: Can't add modifier with value === 0 #627

@frontstall

Description

@frontstall

For example:

const cnSnippet = cn('Snippet');
const snippetCn = cnSnippet({ index: 0 }); // expected 'Snippet_index_0', but got 'Snippet'

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