export function ReleaseInfo(props: { branch?: string; shortcode?: string; backgroundColor?: string; }) { if (!props.branch || !props.shortcode) { return <>Release [local]; } return ( <> {`Release `} {props.shortcode} {props.branch === "main" ? "" : ` (${props.branch})`} ); }