import React from "react"; import { Label, Text } from "@webiny/admin-ui"; interface ObjectFieldHeaderProps { label?: React.ReactNode; description?: React.ReactNode; } /** * The bold field label with its description stacked below it, shown above a list of object rows. */ export const ObjectFieldHeader = ({ label, description }: ObjectFieldHeaderProps) => { if (!label) { return null; } return (