Skip to content

Commit

Permalink
fix: Button and IconButton docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dkireev committed Sep 22, 2023
1 parent bafb25f commit 75fb7e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions next-docs/pages/components/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
]}
Expand Down
6 changes: 3 additions & 3 deletions next-docs/pages/components/iconButton.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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';

Expand Down Expand Up @@ -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',
},
]}
Expand Down

0 comments on commit 75fb7e2

Please sign in to comment.