Dependency mismatch #4594
Labels
bug
Something isn't working
not-reproducible
Not able to reproduce the issue
Primitive
An issue or a feature-request for one or more UI Primitive
React
An issue or a feature-request for React platform
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Other
How is your app built?
yarn build
What browsers are you seeing the problem on?
Brave Pr
Which region are you seeing the problem in?
No response
Please describe your bug.
I just installed the latest version of
"@aws-amplify/ui-react": "^5.3.1",
coming from 3.6.0
And some of the elements are not working in my React/Typescript codebase
<View
as="div"
alignContent="center"
ariaLabel="View example"
backgroundColor="var(--amplify-colors-white)"
margin="10% 0% 0% 0%"
But some of the properties don’t exist anymore seemingly
Property 'as' does not exist on type 'IntrinsicAttributes & BaseViewProps'.
Property 'alignContent' does not exist on type 'IntrinsicAttributes & BaseViewProps'.
Am I missing some typescript dependency? Am I looking at out of date docs? https://ui.docs.amplify.aws/react/components/view
What's the expected behaviour?
The attributes should not cause any errors.
Help us reproduce the bug!
Use the following package.json
The text was updated successfully, but these errors were encountered: