import { Component, input } from '@angular/core';
/** Molecule: one key/value row in a CIBG Huisstijl "controlestap" data summary
(`dt.col-md-4` / `dd.col-md-8`). `display:contents` so the dt/dd become direct
flex children of the parent `
` — the Bootstrap grid classes
need that to lay out correctly. Wrap several in a ``. */
@Component({
selector: 'app-data-row',
styles: [`:host{display:contents}`],
template: `
- {{ key() }}
- {{ value() }}
`,
})
export class DataRowComponent {
key = input.required();
value = input('');
}