From 75fb7e255b89fbd52e74d094b87d3ad9a4f17f23 Mon Sep 17 00:00:00 2001 From: dkireev Date: Fri, 22 Sep 2023 15:27:44 +0300 Subject: [PATCH] fix: Button and IconButton docs --- next-docs/pages/components/button.tsx | 4 ++-- next-docs/pages/components/iconButton.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/next-docs/pages/components/button.tsx b/next-docs/pages/components/button.tsx index 7fc87551af..71252aed53 100644 --- a/next-docs/pages/components/button.tsx +++ b/next-docs/pages/components/button.tsx @@ -153,9 +153,9 @@ const PageButton = () => { }, { name: 'variant', - type: 'primary | secondary | tertiary | ghost', + type: 'fill | outline | ghost', required: false, - default: 'primary', + default: 'fill', description: 'Visual/Logical variant of button', }, ]} diff --git a/next-docs/pages/components/iconButton.tsx b/next-docs/pages/components/iconButton.tsx index b6711037fd..cd262e4e14 100644 --- a/next-docs/pages/components/iconButton.tsx +++ b/next-docs/pages/components/iconButton.tsx @@ -1,6 +1,7 @@ import { ReactNode } from 'react'; import Preview from '../../components/codePreview/Preview'; import ComponentPageDescription from '../../components/ComponentPageDescription'; +import type { ComponentNames } from '../../components/getComponent'; import Layout from '../../components/Layout'; import PropsTable from '../../components/PropsTable'; import Animations from '../../public/examples/iconButton/Animations'; @@ -10,7 +11,6 @@ import Disabled from '../../public/examples/iconButton/Disabled'; import Sizes from '../../public/examples/iconButton/Sizes'; import Variants from '../../public/examples/iconButton/Variants'; import useComponent from '../../utils/useComponent'; -import type { ComponentNames } from '../../components/getComponent'; const COMPONENT_NAME: ComponentNames = 'IconButton'; @@ -120,9 +120,9 @@ const PageIconButton = () => { }, { name: 'variant', - type: 'primary | secondary | tertiary | ghost', + type: 'fill | outline | ghost', required: false, - default: 'primary', + default: 'fill', description: 'Visual/Logical variant of button', }, ]}