Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: makegetCSSForPlatform optional#1371

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
florian-lefebvre wants to merge1 commit intonativewind:main
base:main
Choose a base branch
Loading
fromflorian-lefebvre:florian-lefebvre-patch-1

Conversation

@florian-lefebvre
Copy link

@florian-lefebvreflorian-lefebvre commentedJan 5, 2025
edited
Loading

TheWithCssInteropOptions type has 2 required properties:input andgetCSSForPlatform. However when usingwithNativeWind, onlyinput is required at runtime. This PR makes all properties ofWithCssInteropOptions optional when used as thewithNativeWind options.input will be still required since it's overriden

//@ts-check// BEFOREmodule.exports=withNativeWind(config,{input:"./src/global.css",//@ts-expect-error this is overriden, see #1371getCSSForPlatform:undefined});// AFTERmodule.exports=withNativeWind(config,{input:"./src/global.css",});

bradleyayers, robinclaes, and dbrekelmans reacted with thumbs up emoji
@vercel
Copy link

vercelbot commentedJan 5, 2025
edited
Loading

The latest updates on your projects. Learn more aboutVercel for Git ↗︎

NameStatusPreviewUpdated (UTC)
nativewind✅ Ready (Inspect)Visit PreviewJan 5, 2025 11:00am

@danstepanov
Copy link
Member

will review with Mark before merging but this looks good to me

florian-lefebvre, bradleyayers, and robinclaes reacted with heart emoji

@danstepanovdanstepanov added the help wantedExtra attention is needed labelMar 1, 2025
@Alvi24
Copy link

any developments?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@mar-jsmar-jsmar-js approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

help wantedExtra attention is needed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@florian-lefebvre@danstepanov@Alvi24@mar-js

[8]ページ先頭

©2009-2025 Movatter.jp