TypeScript 오류 : JSX.Element를 React.ReactElement로 변경
This commit is contained in:
@@ -34,7 +34,7 @@ export interface SdmInfoRegFormProps {
|
||||
|
||||
type FieldComponent = (
|
||||
field: ControllerRenderProps<SdmInfoFormData, keyof SdmInfoFormData>
|
||||
) => JSX.Element;
|
||||
) => React.ReactElement;
|
||||
|
||||
export function SdmInfoRegForm({
|
||||
form,
|
||||
|
||||
Reference in New Issue
Block a user