Skip to content

Commit

Permalink
fix(form): props title is not assignable to type ReactNode (#8682)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renderz authored Aug 29, 2024
1 parent 92a6f57 commit 991ab91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form/src/layouts/LoginFormPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export type LoginFormPageProps<T> = {
containerStyle?: React.CSSProperties;
mainStyle?: React.CSSProperties;
otherStyle?: React.CSSProperties;
} & ProFormProps<T>;
} & Omit<ProFormProps<T>, 'title'>;

export function LoginFormPage<T = Record<string, any>>(
props: Partial<LoginFormPageProps<T>>,
Expand Down

0 comments on commit 991ab91

Please sign in to comment.