Conversation
|
The Pull Request introduced fingerprint changes against the base commit: 94a23f5 Fingerprint diff[
{
"op": "changed",
"beforeSource": {
"type": "dir",
"filePath": "../../packages/expo-ui/android",
"reasons": [
"expoAutolinkingAndroid"
],
"hash": "07599c4d772481d062ceb38a738fcd3194cbb59b"
},
"afterSource": {
"type": "dir",
"filePath": "../../packages/expo-ui/android",
"reasons": [
"expoAutolinkingAndroid"
],
"hash": "191c36707802ba844bf3a4183c0e696dabe56296"
}
}
]Generated by PR labeler 🤖 |
527b5ef to
44918dc
Compare
8f1c134 to
3fcd734
Compare
44918dc to
497b352
Compare
|
Subscribed to pull request
Generated by CodeMention |
Kudo
left a comment
There was a problem hiding this comment.
-
leaving some ni comments but we can follow up in separate pr. given this code are referenced from <Button> directly, we can update with <Button> together later.
-
would be good to add NCL example. i'm not quite clear that how to pass an icon to <IconButton>
| val (colors) = props.elementColors | ||
| val (disabled) = props.disabled | ||
|
|
||
| DynamicTheme { |
There was a problem hiding this comment.
fine for now but i was thinking to keep each component as simple and 1:1 mapping from js <-> compose. we should reduce DynamicTheme in most of places. maybe just keep DynamicTheme in the <Host> component.
| ), | ||
| shape = shapeFromShapeRecord(props.shape.value) | ||
| ) { | ||
| Box(modifier = Modifier.fillMaxSize()) { |
There was a problem hiding this comment.
ditto. we may try to remove the Box here
03eac30 to
6c77bce
Compare
090fb5b to
01198d0
Compare
6c77bce to
10725bb
Compare

Why
It's a different compose component from the regular button. While you can get mostly the same thing with a regular button it seems a common enough pattern to warrant a native component (?) – open to discussing.
How
Test Plan
Checklist
changelog.mdentry and rebuilt the package sources according to this short guidenpx expo prebuild& EAS Build (eg: updated a module plugin).