Skip to content

[Bug]: Circular dependency between Button and IconButton #14399

@haocheng6

Description

@haocheng6

Package

@carbon/react

Browser

No response

Package version

latest

React version

No response

Description

This is not a user-facing bug. See the "Steps to reproduce" below for details.

Reproduction/example

N/A

Steps to reproduce

Run yarn build in packages/react, and check the warning message in the terminal:

Circular dependency: src/components/Button/index.ts -> src/components/Button/Button.tsx -> src/components/IconButton/index.js -> src/components/Button/index.ts

Suggested Severity

Severity 4 = Unrelated to a user task, has a workaround or does not need a workaround.

Application/PAL

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    ⏱ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions