/*! Strand UI | MIT License | dillingerstaffing.com */ import type { ComponentChildren, JSX } from "preact"; import { forwardRef } from "preact/compat"; import { cx } from "../../internal/index.js"; export interface KvEditorialProps extends Omit, "label" | "value"> { /** Label column, mono uppercase. */ label: ComponentChildren; /** Value column, sans. */ value: ComponentChildren; /** Tint the value as a status. */ status?: boolean; } /** * Editorial key-value row for card metadata. * * @example * */ export const KvEditorial = forwardRef( ({ label, value, status = false, className = "", ...rest }, ref) => (
{label} {value}
), ); KvEditorial.displayName = "KvEditorial";