import React from "react";
import { Label } from "./Label";
import { MetadataItemWrapper } from "./MetadataItem.styled";
export const MetadataItem = ({ item }) => {
    if (!item)
        return React.createElement(React.Fragment, null);
    return (React.createElement(MetadataItemWrapper, null,
        React.createElement("dt", null,
            React.createElement(Label, { label: item.label }),
            "s"),
        React.createElement("dd", null,
            React.createElement(Label, { label: item.value }))));
};
//# sourceMappingURL=MetadataItem.js.map