-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
feat(core): add web only filter, backdrop, mix-blend-mode #2265
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
we need to update the docs for these too in styles.mdx. if we're updating these, we should be more thorough and catalog which are important and at least plausibly likely to be implemented by react native add a few more. |
we can also have these in react-native, there is a library for that. but for now we can skip it |
We should make this pr comprehensive and add all the style props we think we want for v2 basically. Some candidates:
Etc, probably at least 20 more are desirably at least. We should reference here: react-native-community/discussions-and-proposals#496 See "CSS Compatibility" (objectFit, verticalAlign). I want to have one release where we deprecate all the old stuff from here and add the new stuff react-native-community/discussions-and-proposals#496 Some deprecations (jsdoc can tell people what the new value is):
|
@natew Added 38 more style props |
inset?: SpaceTokens | number; | ||
insetBlock?: SpaceTokens | number; | ||
insetBlockStart?: SpaceTokens | number; | ||
insetBlockEnd?: SpaceTokens | number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these supported on native?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, they are mapped to native alternatives.
like paddingInline
to paddingHorizontal
add the following props support ( web only )
filter
backdropFilter
mixMlendMode