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

[TypeScript] Fix sx types and missing style prop from layout components #191

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Aug 5, 2024

Found this issue from mui/material-ui#43065 (review)

It's not possible to do this at the moment:

The style attribute is not supported in PigmentGrid

image

@siriwatknp siriwatknp added typescript bug 🐛 Something doesn't work labels Aug 5, 2024
@@ -12,6 +12,8 @@ type StackBaseProps = {
className?: string;
};

declare const Stack: PolymorphicComponent<StackBaseProps>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a typecheck test for the change if possible ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@siriwatknp siriwatknp changed the title [TypeScript] Fix missing style prop from layout components [TypeScript] Fix sx types and missing style prop from layout components Aug 5, 2024
@siriwatknp siriwatknp merged commit 4576df1 into master Aug 6, 2024
17 of 18 checks passed
@siriwatknp siriwatknp deleted the fix/layout-component-types branch August 6, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants