From ab6e377a081e6f37185310b0312c35fcb47e88a5 Mon Sep 17 00:00:00 2001 From: Johan Nilsson Date: Wed, 9 Oct 2024 21:19:07 +0200 Subject: [PATCH] [docs] Fix syntax in JSDoc example (#261) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Aarón García Hervás --- packages/pigment-css-react/src/utils/extendTheme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pigment-css-react/src/utils/extendTheme.ts b/packages/pigment-css-react/src/utils/extendTheme.ts index fb88395e..06491fa8 100644 --- a/packages/pigment-css-react/src/utils/extendTheme.ts +++ b/packages/pigment-css-react/src/utils/extendTheme.ts @@ -30,7 +30,7 @@ export interface ThemeInput extends Record< * * @example * // data-* attribute selector - * (colorScheme) => colorScheme !== 'light' ? `[data-theme="${colorScheme}"`] : ":root" + * (colorScheme) => colorScheme !== 'light' ? `[data-theme="${colorScheme}"]` : ":root" */ getSelector?: ( colorScheme: ColorScheme | undefined,