From 094340813245fda7539d9aa31eedd18cd8a0597c Mon Sep 17 00:00:00 2001 From: adamviktora Date: Fri, 24 Mar 2023 14:25:22 +0100 Subject: [PATCH 1/2] docs(Backdrop): remove "with spinner" example --- .../src/components/Backdrop/examples/Backdrop.md | 5 ----- .../components/Backdrop/examples/BackdropSpinner.tsx | 10 ---------- 2 files changed, 15 deletions(-) delete mode 100644 packages/react-core/src/components/Backdrop/examples/BackdropSpinner.tsx diff --git a/packages/react-core/src/components/Backdrop/examples/Backdrop.md b/packages/react-core/src/components/Backdrop/examples/Backdrop.md index e3006fc33be..b86805f3780 100644 --- a/packages/react-core/src/components/Backdrop/examples/Backdrop.md +++ b/packages/react-core/src/components/Backdrop/examples/Backdrop.md @@ -11,8 +11,3 @@ propComponents: ['Backdrop'] ```ts isFullscreen file="./BackdropBasic.tsx" ``` - -### With spinner - -```ts isFullscreen file="./BackdropSpinner.tsx" -``` diff --git a/packages/react-core/src/components/Backdrop/examples/BackdropSpinner.tsx b/packages/react-core/src/components/Backdrop/examples/BackdropSpinner.tsx deleted file mode 100644 index 65a0e67a584..00000000000 --- a/packages/react-core/src/components/Backdrop/examples/BackdropSpinner.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; -import { Backdrop, Spinner, Bullseye } from '@patternfly/react-core'; - -export const BackdropSpinner: React.FunctionComponent = () => ( - - - - - -); From 1327f214ed55ab3b1bdb0427ea62bceda2812577 Mon Sep 17 00:00:00 2001 From: adamviktora Date: Mon, 27 Mar 2023 09:10:18 +0200 Subject: [PATCH 2/2] docs(Backdrop): changed description --- packages/react-core/src/components/Backdrop/Backdrop.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-core/src/components/Backdrop/Backdrop.tsx b/packages/react-core/src/components/Backdrop/Backdrop.tsx index 2465d6d7775..853bb8de57e 100644 --- a/packages/react-core/src/components/Backdrop/Backdrop.tsx +++ b/packages/react-core/src/components/Backdrop/Backdrop.tsx @@ -3,9 +3,9 @@ import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/Backdrop/backdrop'; export interface BackdropProps extends React.HTMLProps { - /** content rendered inside the backdrop */ + /** Content rendered inside the backdrop */ children?: React.ReactNode; - /** additional classes added to the button */ + /** Additional classes added to the backdrop */ className?: string; }