mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-15 01:58:59 +08:00
Fixed CMSFieldProps exmaple import
This commit is contained in:
@@ -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<string>)
|
||||
: ReactElement {
|
||||
console.log("CustomLargeTextField");
|
||||
|
||||
const fieldError = getIn(errors, field.name);
|
||||
const showError = getIn(touched, field.name) && !!fieldError;
|
||||
|
||||
Reference in New Issue
Block a user