Skip to content

Commit 526bb83

Browse files
committed
Keep label as allowed WithListContext property.
1 parent e65c84f commit 526bb83

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/ra-core/src/controller/list/WithListContext.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,9 @@ export interface WithListContextProps<RecordType extends RaRecord>
7676
offline?: React.ReactNode;
7777
errorElement?: React.ReactNode;
7878
empty?: React.ReactNode;
79+
80+
/**
81+
* @deprecated
82+
*/
83+
label?: string;
7984
}

0 commit comments

Comments
 (0)