Skip to content
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

Attempted import error: 'SidebarToogleButton' is not exported from 'react-admin'. #6957

Closed
shreyas-jadhav opened this issue Dec 7, 2021 · 2 comments

Comments

@shreyas-jadhav
Copy link
Contributor

What you were expecting:
im trying to make my own appbar to get rid of refresh button. and i tried to import <SidebarToogleButton> as the code is already there.
docs say that SidebarToogleButton is exported but it isn'ti think.

What happened instead:
im getting error Attempted import error: 'SidebarToogleButton' is not exported from 'react-admin'.

Steps to reproduce:
import { SidebarToogleButton } from 'react-admin'

Related code:
import { SidebarToogleButton } from 'react-admin'

Environment

  • React-admin version: 3.19.2
  • Last version that did not exhibit the issue (if applicable):
  • React version: 17.0.2
  • Browser: firefox
  • Stack trace (in case of a JS error):
@WiXSL
Copy link
Contributor

WiXSL commented Dec 7, 2021

This has been fixed (#6911) and is included to be release in the next minor version

@shreyas-jadhav
Copy link
Contributor Author

thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants