From d73cbdac7a239e75c6df42e77e2e060f3c8477f7 Mon Sep 17 00:00:00 2001 From: francesco Date: Mon, 4 May 2020 00:23:07 +0200 Subject: [PATCH] Fixed CMSFieldProps exmaple import --- example/src/custom_field/CustomLargeTextField.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/src/custom_field/CustomLargeTextField.tsx b/example/src/custom_field/CustomLargeTextField.tsx index 5b69098..6a968b7 100644 --- a/example/src/custom_field/CustomLargeTextField.tsx +++ b/example/src/custom_field/CustomLargeTextField.tsx @@ -6,7 +6,7 @@ import { InputLabel } from "@material-ui/core"; import React, { ReactElement } from "react"; -import { CMSFieldProps } from "../../../src/form"; +import { CMSFieldProps } from "firecms"; export default function CustomLargeTextField({ property, @@ -15,7 +15,6 @@ export default function CustomLargeTextField({ ...props }: CMSFieldProps) : ReactElement { - console.log("CustomLargeTextField"); const fieldError = getIn(errors, field.name); const showError = getIn(touched, field.name) && !!fieldError;