scaffolder-react: refert FormProps back to alpha

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-01-29 19:51:14 +01:00
parent acd4f9b20b
commit 0e4c640d06
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ export type FieldExtensionOptions<
schema?: CustomFieldExtensionSchema;
};
// @alpha
// @public
export type FormProps = Pick<
FormProps_2,
'transformErrors' | 'noHtml5Validate'
+5 -1
View File
@@ -16,10 +16,14 @@
import type { FormProps as SchemaFormProps } from '@rjsf/core-v5';
// TODO(Rugvip): The FormProps type is actually supposed to be alpha, but since we want to
// refer to it from @backstage/plugin-scaffolder, it needs to be public for now.
// Once we support internal alpha re-exports this should be switched to an alpha export.
/**
* Any `@rjsf/core` form properties that are publicly exposed to the `NextScaffolderpage`
*
* @alpha
* @public
*/
export type FormProps = Pick<
SchemaFormProps,