Skip to content

Commit 8b74014

Browse files
committed
remove unsupported description roperty
1 parent 9a3c484 commit 8b74014

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ This is a major release, and it might be not compatible with your current usage
7272
- support for React Flow v10 was completely removed
7373
- `<EdgeDefault />`
7474
- removed `inversePath` property, can be replaced with `arrowDirection: "inversed"` property
75+
- `<Spinner />`
76+
- `description` property was removed because it was defined but not implemented for a very long time, but we plan to add that type of caption later
7577

7678
### Fixed
7779

src/components/Spinner/Spinner.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ export interface SpinnerProps extends Omit<BlueprintSpinnerProps, "size" | "inte
6161
* Use this property to alter the display of the backdrop used for the global spinner
6262
*/
6363
overlayProps?: BlueprintOverlayProps;
64-
/**
65-
* Label displayed next to the spinner (planned).
66-
* You can set it to document the purpose of the spinner.
67-
* It is currently not supported and not displayed.
68-
*/
69-
description?: string;
7064
}
7165

7266
export const Spinner = ({
@@ -79,8 +73,6 @@ export const Spinner = ({
7973
showLocalBackdrop = false,
8074
delay = 0,
8175
overlayProps,
82-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
83-
description = "Loading indicator", // currently unsupported (TODO):
8476
...otherProps
8577
}: SpinnerProps) => {
8678
const [showSpinner, setShowSpinner] = useState<boolean>(!delay || delay <= 0);

0 commit comments

Comments
 (0)