Skip to content

Commit

Permalink
feat: include more info in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Apr 11, 2023
1 parent 8eeb46c commit 5f867df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quick-islands-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@svbstrate/react-native": patch
---

Include more information in `debug` mode
2 changes: 1 addition & 1 deletion packages/react-native/lib/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Box = React.forwardRef(({ children, as, ...rest }, ref) => {
if (debug) {
console.log(
`@svbstrate/react-native [debug] `,
JSON.stringify(styles, null, 2)
JSON.stringify({ styles: mergedStyles, props }, null, 2)
);
}

Expand Down

0 comments on commit 5f867df

Please sign in to comment.