fix(loading)!: remove redundant description label (#1783)

Fixes #1670
This commit is contained in:
Eric Liu 2023-07-23 14:07:55 -07:00 committed by GitHub
commit d6804b44fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 51 deletions

View file

@ -23,17 +23,11 @@ export interface LoadingProps extends RestProps {
withOverlay?: boolean;
/**
* Specify the label description
* @default "Active loading indicator"
* Specify the description to describe the loading state
* @default "loading"
*/
description?: string;
/**
* Set an id for the label element
* @default "ccs-" + Math.random().toString(36)
*/
id?: string;
[key: `data-${string}`]: any;
}