Skip to content

Plugin doesn't resolve classnames in function #226

Open
@shrihari-balasubramani

Description

@shrihari-balasubramani

Plugin doesn't resolve the styles in the following scenario.

import styles from './TYTextButton.css'
import classnames from 'classnames'

const renderText = (text, textClassName) => <Typography className={classnames(styles.text, textClassName)}>{text}</Typography>

I tried work arounds and came out with this approach shrihari-balasubramani@a6e5849

Please let me know if any better approach exists for this. Else I can raise a PR here .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions