import React from "react"; import { Typography } from "@firecms/ui"; export function FieldCaption({ error, children }: { error?: boolean, children?: React.ReactNode }) { if (!children) return null; return ( {children} ); }