From ca4752c8e72e0aa9e5d8fd9b5c98800859f24828 Mon Sep 17 00:00:00 2001 From: justblender Date: Fri, 1 Mar 2024 21:03:52 +0300 Subject: [PATCH] fix(docs): fix code highlight for `layout` --- docs/src/content/docs/reference/create-stylesheet.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/docs/reference/create-stylesheet.mdx b/docs/src/content/docs/reference/create-stylesheet.mdx index 19248f8d..c14378b2 100644 --- a/docs/src/content/docs/reference/create-stylesheet.mdx +++ b/docs/src/content/docs/reference/create-stylesheet.mdx @@ -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,