Skip to content

Commit 05917ab

Browse files
committed
Added documentation for ErrorState.
1 parent 6996e10 commit 05917ab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/module/src/ErrorState/ErrorState.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import {
1515
import './error-state.scss';
1616

1717
export interface ErrorStateProps extends Omit<EmptyStateProps, 'children'> {
18+
/** Title of the error. */
1819
errorTitle?: string;
20+
/** A description of the error, if no description is provided then it will be set to the default message. */
1921
errorDescription?: React.ReactNode;
2022
}
2123

0 commit comments

Comments
 (0)