From 7424e98416c87943dbbbbd4f91221e8133801bc3 Mon Sep 17 00:00:00 2001 From: Nidhi Kumari Date: Wed, 27 Jul 2022 00:22:40 +0530 Subject: [PATCH] Updated all instances of "Component API" to "Props" in storybook documentation (#15324) * replaced Component API with Props * replaced Component API with Props in DOCUMENTATION.stories.mdx * removed base avatar component --- .storybook/2.DOCUMENTATION.stories.mdx | 8 ++++---- ui/components/app/account-list-item/README.mdx | 2 +- ui/components/app/flask/snap-settings-card/README.mdx | 2 +- ui/components/app/metamask-translation/README.mdx | 2 +- ui/components/app/signature-request-original/README.mdx | 2 +- ui/components/app/signature-request/README.mdx | 2 +- ui/components/app/transaction-detail-item/README.mdx | 2 +- ui/components/app/transaction-detail/README.mdx | 2 +- ui/components/ui/actionable-message/README.mdx | 2 +- ui/components/ui/alert/README.mdx | 2 +- ui/components/ui/box/README.mdx | 2 +- ui/components/ui/breadcrumbs/README.mdx | 2 +- ui/components/ui/button-group/README.mdx | 2 +- ui/components/ui/button/README.mdx | 2 +- ui/components/ui/card/README.mdx | 2 +- ui/components/ui/check-box/README.mdx | 2 +- ui/components/ui/chip/README.mdx | 2 +- ui/components/ui/confusable/README.mdx | 2 +- ui/components/ui/dialog/README.mdx | 2 +- ui/components/ui/dropdown/README.mdx | 2 +- ui/components/ui/error-message/README.mdx | 2 +- ui/components/ui/export-text-container/README.mdx | 2 +- ui/components/ui/form-field/README.mdx | 2 +- ui/components/ui/hex-to-decimal/README.mdx | 2 +- ui/components/ui/icon-with-fallback/README.mdx | 2 +- ui/components/ui/icon/README.mdx | 2 +- ui/components/ui/identicon/README.mdx | 2 +- ui/components/ui/info-tooltip/README.mdx | 2 +- ui/components/ui/logo/README.mdx | 2 +- ui/components/ui/radio-group/README.mdx | 2 +- ui/components/ui/site-icon/README.mdx | 2 +- ui/components/ui/text-field/README.mdx | 2 +- ui/components/ui/textarea/README.mdx | 2 +- ui/components/ui/toggle-button/README.mdx | 2 +- ui/components/ui/typography/README.mdx | 2 +- ui/components/ui/update-nickname-popover/README.mdx | 2 +- ui/pages/import-token/README.mdx | 2 +- ui/pages/send/send-content/send-gas-row/README.mdx | 2 +- ui/pages/swaps/countdown-timer/README.mdx | 2 +- ui/pages/swaps/dropdown-input-pair/README.mdx | 2 +- ui/pages/swaps/main-quote-summary/README.mdx | 2 +- ui/pages/unlock-page/README.mdx | 2 +- 42 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.storybook/2.DOCUMENTATION.stories.mdx b/.storybook/2.DOCUMENTATION.stories.mdx index da30c959e..17fb97396 100644 --- a/.storybook/2.DOCUMENTATION.stories.mdx +++ b/.storybook/2.DOCUMENTATION.stories.mdx @@ -50,7 +50,7 @@ import React from 'react'; import BuyIcon from '../icon/overview-buy-icon.component'; -// The mdx file to document component API and usage +// The mdx file to document props and usage import README from './README.mdx'; import Button from '.'; @@ -149,7 +149,7 @@ Now the storybook components are complete, the `README.mdx` documentation should import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; - + import Button from '.'; @@ -167,9 +167,9 @@ Buttons communicate actions that users can take. -## Component API +## Props - diff --git a/ui/components/app/account-list-item/README.mdx b/ui/components/app/account-list-item/README.mdx index a0eb00386..6c2db73a2 100644 --- a/ui/components/app/account-list-item/README.mdx +++ b/ui/components/app/account-list-item/README.mdx @@ -9,6 +9,6 @@ Account List Item is referred for each account item on the Account List's compon -## Component API +## Props diff --git a/ui/components/app/flask/snap-settings-card/README.mdx b/ui/components/app/flask/snap-settings-card/README.mdx index 8f958a645..df18a90e8 100644 --- a/ui/components/app/flask/snap-settings-card/README.mdx +++ b/ui/components/app/flask/snap-settings-card/README.mdx @@ -10,7 +10,7 @@ A card component that displays information and the status of a snap. The `SnapSe -## Component API +## Props diff --git a/ui/components/app/metamask-translation/README.mdx b/ui/components/app/metamask-translation/README.mdx index df4807426..98cee86e4 100644 --- a/ui/components/app/metamask-translation/README.mdx +++ b/ui/components/app/metamask-translation/README.mdx @@ -23,7 +23,7 @@ trees to contain. -## Component API +## Props