We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The docs for the <Dashboard/> component states that
<Dashboard/>
The component supports all @uppy/dashboard options as props.
However, I can't set thumbnailWidth when using it. This is the error I get from TypeScript:
thumbnailWidth
Type '{ uppy: Uppy; thumbnailWidth: number; }' is not assignable to type 'IntrinsicAttributes & DashboardProps & { children?: ReactNode; }'. Property 'thumbnailWidth' does not exist on type 'IntrinsicAttributes & DashboardProps & { children?: ReactNode; }'. TS2322 94 | return ( 95 | <div> > 96 | <Dashboard uppy={uppy} thumbnailWidth={300} /> | ^ 97 | </div> 98 | ); 99 | };
The text was updated successfully, but these errors were encountered:
Thanks for the report! It works at runtime but is missing from the typings file.
Sorry, something went wrong.
4cd5a3b
No branches or pull requests
The docs for the
<Dashboard/>
component states thatHowever, I can't set
thumbnailWidth
when using it. This is the error I get from TypeScript:The text was updated successfully, but these errors were encountered: