Skip to content

Commit

Permalink
[docs] Fix syntax in JSDoc example (#261)
Browse files Browse the repository at this point in the history
Co-authored-by: Aarón García Hervás <[email protected]>
  • Loading branch information
yoohahn and aarongarciah authored Oct 9, 2024
1 parent e256423 commit ab6e377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pigment-css-react/src/utils/extendTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface ThemeInput<ColorScheme extends string = string> extends Record<
*
* @example
* // data-* attribute selector
* (colorScheme) => colorScheme !== 'light' ? `[data-theme="${colorScheme}"`] : ":root"
* (colorScheme) => colorScheme !== 'light' ? `[data-theme="${colorScheme}"]` : ":root"
*/
getSelector?: (
colorScheme: ColorScheme | undefined,
Expand Down

0 comments on commit ab6e377

Please sign in to comment.