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

AppBarProps is not exported #5409

Closed
ordovicia opened this issue Oct 16, 2020 · 1 comment · Fixed by #5410
Closed

AppBarProps is not exported #5409

ordovicia opened this issue Oct 16, 2020 · 1 comment · Fixed by #5410
Assignees
Labels

Comments

@ordovicia
Copy link

What you were expecting:

AppBarProps would be exported from ra-ui-materialui here:

import AppBar from './AppBar';

What happened instead:

AppBarProps is not exported.
So I can't assign a proper type to my app bar implementation like this:

import { AppBarProps } from 'ra-ui-materialui'; // error

const MyAppBar: React.FC<AppBarProps> = (props) => {
 ...
};

Other information:

Environment

  • React-admin version: 3.9.3
@fzaninotto
Copy link
Member

Thanks for the report, bug confirmed.

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

Successfully merging a pull request may close this issue.

2 participants