You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to change a Dropdown example on the doc site that imports '../common', such as selection.
Expected Result
The example should live update.
Actual Result
An error is thrown.
This is because there is special handling involved to make import "work" in a browser. The file ../common is not part of this special handling.
The common module needs to imported in similar fashion to the other modules that are importable from the doc examples. This is done here in ComponentExample.js.
Steps
Try to change a Dropdown example on the doc site that imports
'../common'
, such asselection
.Expected Result
The example should live update.
Actual Result
An error is thrown.
This is because there is special handling involved to make
import
"work" in a browser. The file../common
is not part of this special handling.The common module needs to imported in similar fashion to the other modules that are importable from the doc examples. This is done here in ComponentExample.js.
Version
0.62.0
Testcase
http://react.semantic-ui.com/modules/dropdown#selection
The text was updated successfully, but these errors were encountered: