Skip to content

Commit b8582bd

Browse files
Merge pull request #860 from gadget-inc/mill/allowNullAsAutoFormTitleType
Allow null in AutoForm `title` prop type
2 parents 1a0e70e + 0097c11 commit b8582bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react/src/auto/AutoForm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type AutoFormPropsWithoutChildren = {
4141
children?: never;
4242

4343
/** The title at the top of the form. False to omit */
44-
title?: string | false;
44+
title?: string | false | null;
4545

4646
/** The label to use for the submit button at the bottom of the form */
4747
submitLabel?: ReactNode;

0 commit comments

Comments
 (0)