From 2680411c8418cf1130afd9fec5a60efccbdb5498 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Tue, 18 Mar 2025 17:07:12 +0000 Subject: [PATCH] Fixing icons Signed-off-by: Charles de Dreuille --- canon-docs/src/app/(docs)/components/button/props.ts | 2 +- .../src/components/CustomTheme/customTheme.tsx | 2 +- canon-docs/src/components/HeadlessBanners/BaseUI.tsx | 2 +- canon-docs/src/components/Toolbar/theme-name.tsx | 2 +- canon-docs/src/snippets/button.tsx | 12 ++++++------ packages/canon/src/components/Icon/Icon.tsx | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/canon-docs/src/app/(docs)/components/button/props.ts b/canon-docs/src/app/(docs)/components/button/props.ts index 3a8f98e000..813dcaa6f0 100644 --- a/canon-docs/src/app/(docs)/components/button/props.ts +++ b/canon-docs/src/app/(docs)/components/button/props.ts @@ -1,7 +1,7 @@ import { classNamePropDefs, stylePropDefs } from '../../../../utils/propDefs'; import type { PropDef } from '../../../../utils/propDefs'; -export const boxPropDefs: Record = { +export const buttonPropDefs: Record = { variant: { type: 'enum', values: ['primary', 'secondary'], diff --git a/canon-docs/src/components/CustomTheme/customTheme.tsx b/canon-docs/src/components/CustomTheme/customTheme.tsx index e8628b83ff..66b4afc47c 100644 --- a/canon-docs/src/components/CustomTheme/customTheme.tsx +++ b/canon-docs/src/components/CustomTheme/customTheme.tsx @@ -125,7 +125,7 @@ export const CustomTheme = () => { className={styles.buttonClose} onClick={() => setOpen(!open)} > - + diff --git a/canon-docs/src/components/HeadlessBanners/BaseUI.tsx b/canon-docs/src/components/HeadlessBanners/BaseUI.tsx index 8401cafd78..86a0e1ecbd 100644 --- a/canon-docs/src/components/HeadlessBanners/BaseUI.tsx +++ b/canon-docs/src/components/HeadlessBanners/BaseUI.tsx @@ -35,7 +35,7 @@ export const BaseUI = ({ href }: BaseUIProps) => { {href && ( Discover more - + )} diff --git a/canon-docs/src/components/Toolbar/theme-name.tsx b/canon-docs/src/components/Toolbar/theme-name.tsx index 6b35d0efcc..277ecad9df 100644 --- a/canon-docs/src/components/Toolbar/theme-name.tsx +++ b/canon-docs/src/components/Toolbar/theme-name.tsx @@ -24,7 +24,7 @@ export const ThemeNameSelector = () => { placeholder="Select a theme" /> - + diff --git a/canon-docs/src/snippets/button.tsx b/canon-docs/src/snippets/button.tsx index a7df4315f9..aa20b3e46a 100644 --- a/canon-docs/src/snippets/button.tsx +++ b/canon-docs/src/snippets/button.tsx @@ -28,8 +28,8 @@ export const ButtonWithIcons = () => { return ( - - + @@ -40,8 +40,8 @@ export const ButtonFullWidth = () => { return ( - - + @@ -78,7 +78,7 @@ export const ButtonPlayground = () => { Button