From 774132095c49f9d4397ea2c2778cd9ac3f111f36 Mon Sep 17 00:00:00 2001 From: gucal Date: Thu, 21 Mar 2024 15:23:57 +0300 Subject: [PATCH] Update button group doc --- .../doc/button/{buttonsetdoc.js => buttongroupdoc.js} | 2 +- pages/button/index.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename components/doc/button/{buttonsetdoc.js => buttongroupdoc.js} (98%) diff --git a/components/doc/button/buttonsetdoc.js b/components/doc/button/buttongroupdoc.js similarity index 98% rename from components/doc/button/buttonsetdoc.js rename to components/doc/button/buttongroupdoc.js index 7a700123a9..e9a7b94e73 100644 --- a/components/doc/button/buttonsetdoc.js +++ b/components/doc/button/buttongroupdoc.js @@ -3,7 +3,7 @@ import { DocSectionText } from '@/components/doc/common/docsectiontext'; import { Button } from '@/components/lib/button/Button'; import { ButtonGroup } from '@/components/lib/buttongroup/ButtonGroup'; -export function ButtonSetDoc(props) { +export function ButtonGroupDoc(props) { const code = { basic: ` diff --git a/pages/button/index.js b/pages/button/index.js index 4412771663..b6922ff363 100644 --- a/pages/button/index.js +++ b/pages/button/index.js @@ -1,7 +1,7 @@ import { AccessibilityDoc } from '@/components/doc/button/accessibilitydoc'; import { BadgesDoc } from '@/components/doc/button/badgesdoc'; import { BasicDoc } from '@/components/doc/button/basicdoc'; -import { ButtonSetDoc } from '@/components/doc/button/buttonsetdoc'; +import { ButtonGroupDoc } from '@/components/doc/button/buttongroupdoc'; import { DisabledDoc } from '@/components/doc/button/disableddoc'; import { IconOnlyDoc } from '@/components/doc/button/icononlydoc'; import { IconsDoc } from '@/components/doc/button/iconsdoc'; @@ -96,9 +96,9 @@ const ButtonDemo = () => { component: BadgesDoc }, { - id: 'buttonset', - label: 'Button Set', - component: ButtonSetDoc + id: 'buttongroup', + label: 'Button Group', + component: ButtonGroupDoc }, { id: 'sizes',