-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidebar gives proptype error #3864
Comments
Am encountering the same issue... |
Also encountering the same issue. |
Facing same warning. |
1 similar comment
Facing same warning. |
Same warning
|
+1 same warning |
+1 same warning <Sidebar
as={SideBarComponent}
animation="overlay"
icon="labeled"
inverted
onHide={() => this.setVisible(false)}
vertical
visible={this.state.visible}
width="thin"
>
import styled from 'styled-components';
const SideBarComponent = styled.div`
background-color: #000;
color: #fff;
`; |
This appears to be caused by the following line in
I don't have enough experience with this library to understand what's going on here, but you can comment out this line to silence the warning (obviously not a long-term solution though). |
Just want to add a +1 to this ongoing issue. |
2 similar comments
Just want to add a +1 to this ongoing issue. |
Just want to add a +1 to this ongoing issue. |
Locking this topic from people piling on with +1 comments that do not help resolve anything. If anyone wants to submit a PR to resolve the issue, that would be more helpful than copy pasting a message piling on. cc @levithomason for visibility in case anyone decides to submit a PR. |
Bug Report
Steps
Render a
Sidebar
component, see testcaseExpected Result
No warnings / errors
Actual Result
Warning: Failed prop type: Element is not defined
Version
0.88.2
Testcase
The text was updated successfully, but these errors were encountered: