-
Notifications
You must be signed in to change notification settings - Fork 2
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
fteat: layout flex #125
fteat: layout flex #125
Conversation
size-limit report 📦
|
@@ -33,6 +33,8 @@ | |||
"forceConsistentCasingInFileNames": true, | |||
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc` | |||
"noEmit": true, | |||
// we can explicitly declare `any`, but we don't want to infer `any` | |||
"noImplicitAny": false, |
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.
this allows us to access the key of an interface without having to cast it as a key. Safe change to make I think
} = props; | ||
const { styleProps } = useStyleProps(props, viewStyleProps); |
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.
@JackyxCS this is a semi-breaking change in that the way you declare borders requires a bit more props. I might need help migrating the app with you to use the right props here.
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.
sounds good view's only used in a couple of places I can help add the req props!
} = props; | ||
const { styleProps } = useStyleProps(props, viewStyleProps); |
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.
sounds good view's only used in a couple of places I can help add the req props!
Adds the
![Screenshot 2023-05-12 at 3 18 09 PM](https://private-user-images.githubusercontent.com/5640648/238099534-3ce85b1a-d86a-49a6-84e4-3df152155234.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA5MjAxNjgsIm5iZiI6MTcyMDkxOTg2OCwicGF0aCI6Ii81NjQwNjQ4LzIzODA5OTUzNC0zY2U4NWIxYS1kODZhLTQ5YTYtODRlNC0zZGYxNTIxNTUyMzQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTRUMDExNzQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTdjNzI0ZDFjMGFiMTNiMGZhZTZiMGUxNjVhM2VlNGY4M2Q1N2VhNDY4Y2IwNjYyNmJmOTA4YWQ2NWVhMmE1NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.uwF4xXOPDjjY8-ux7136gWT5X011BMUkKoMa4syFxt8)
Flex
primitive for layout purposes