import type { FunctionComponent } from "react"; import React from "react"; import { rdapStatusInfo } from "@/constants"; import type { Domain } from "@/types"; import Events from "@/components/lookup/Events"; import Property from "@/components/common/Property"; export type DomainProps = { data: Domain; }; const DomainCard: FunctionComponent = ({ data }: DomainProps) => { return (
{data.ldhName ?? data.unicodeName} ({data.handle})
{data.unicodeName != undefined ? ( {data.unicodeName} ) : null} {data.ldhName} {data.handle}
    {data.status.map((statusKey, index) => (
  • {statusKey}
  • ))}
); }; export default DomainCard;