import React from 'react'; import { Value as StyledValue } from "../../../primitives/Summary"; import DL from "../../../primitives/Datalist"; import ApprovalAreas from "../../ApprovalAreas"; import { FetchOrgData } from "../../blocks/FetchOrg"; type Props = { value?: FetchOrgData } export default function FetchOrgSummary({ value: { address = "", name = "", orgid = "", postcode = "", postplace = "", validApprovalAreas } = {}, }: Props) { if (!orgid) { return * Må fylles ut; } return (
{orgid}
Firmaets navn
{name}
Adresse
{address}
Postnummer- og sted
{postcode} {postplace}
); }