From 52f25e8d378314606bf945cd2ee81408275d118e Mon Sep 17 00:00:00 2001 From: Igor Adrov Date: Mon, 23 Dec 2024 11:24:15 +0100 Subject: [PATCH] docs: fix typo in `03-descendant styles.mdx` (#823) --- apps/docs/docs/learn/06-recipes/03-descendant styles.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/docs/learn/06-recipes/03-descendant styles.mdx b/apps/docs/docs/learn/06-recipes/03-descendant styles.mdx index 25aa1025..13933fd9 100644 --- a/apps/docs/docs/learn/06-recipes/03-descendant styles.mdx +++ b/apps/docs/docs/learn/06-recipes/03-descendant styles.mdx @@ -72,7 +72,7 @@ import * as stylex from '@stylexjs/stylex'; import { vars } from './variables.stylex'; const styles = stylex.create({ - row: { + child: { color: vars.childColor, } }); @@ -85,4 +85,4 @@ function ParentWithHover() { ``` This pattern makes it explicit what styles are being defined on an ancestor element, while leaving -the child element in control to use those styles explicitly and to override it as needed. \ No newline at end of file +the child element in control to use those styles explicitly and to override it as needed.