forked from react-bootstrap/react-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixed] Remove cross import between Button & ButtonInput
They were importing each other which causes an issue when using ButtonInput for server side react rendering under node. Possibly not an issue when they are bundled into the same client side file. We remove the import Button and move the definition of the 'types' into Button which is then referenced from ButtonInput as that already has to import Button. We keep the ButtonInput.types to preserve the interface.
- Loading branch information
1 parent
4901d2c
commit 6e37b27
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters