header 不应该透传

This commit is contained in:
2betop 2019-12-31 13:13:42 +08:00
parent b1a7ea6ca9
commit df57c5383c
3 changed files with 4 additions and 1 deletions

View File

@ -116,7 +116,8 @@ export default class CRUD extends React.Component<CRUDProps, any> {
'labelField',
'loadDataOnce',
'loadDataOnceFetchOnFilter',
'source'
'source',
'header'
];
static defaultProps = {
toolbarInline: true,

View File

@ -135,6 +135,7 @@ export default class Form extends React.Component<FormProps, object> {
};
static propsList: Array<string> = [
'title',
'header',
'controls',
'tabs',
'fieldSet',

View File

@ -21,6 +21,7 @@ export interface PanelProps extends RendererProps {
export default class Panel extends React.Component<PanelProps> {
static propsList: Array<string> = [
'header',
'headerClassName',
'footerClassName',
'actionsClassName',