Skip to content

Commit a5d59c5

Browse files
committed
update DefaultNoDataComponent
1 parent b08d13b commit a5d59c5

File tree

2 files changed

+4
-0
lines changed
  • packages/main/src/components/AnalyticalTable

2 files changed

+4
-0
lines changed

packages/main/src/components/AnalyticalTable/defaults/NoDataComponent/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ export const DefaultNoDataComponent = ({ noDataText, className }: NoDataComponen
1010
</div>
1111
);
1212
};
13+
14+
DefaultNoDataComponent.displayName = 'DefaultNoDataComponent';

packages/main/src/components/AnalyticalTable/types/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,8 @@ export interface AnalyticalTablePropTypes extends Omit<CommonProps, 'title'> {
990990
* Component that will be rendered when the table is not loading and has no data.
991991
*
992992
* __Note:__ Although this prop accepts all React components, it is strongly recommended that you use `IllustratedMessage` with `design="Auto"` to preserve the intended design.
993+
*
994+
* @default DefaultNoDataComponent
993995
*/
994996
NoDataComponent?: ComponentType<any>;
995997

0 commit comments

Comments
 (0)