Skip to content

Commit

Permalink
fix(docs): fix code highlight for layout
Browse files Browse the repository at this point in the history
  • Loading branch information
justblender committed Mar 1, 2024
1 parent d3c967c commit ca4752c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/content/docs/reference/create-stylesheet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const stylesheet = createStyleSheet(theme => ({

In addition to the `theme` argument, you can also accept the `layout` argument when passing a function, which can be useful to access screen orientation, dimensions, insets, and more.

```ts /theme/
```ts /layout/
const stylesheet = createStyleSheet((theme, layout) => ({
container: {
flex: 1,
Expand Down

0 comments on commit ca4752c

Please sign in to comment.