Trying to pass an input value for a component reuse, but facing the challenge of having to use a "hardcoded" map of strings. Uncertain about how to effectively pass this information:
<continue-p
[additionalInfo]="{ "myString": "string", "myNumber": "4" }">
<p>
Paragraph
</p>
</continue-p>
The input field is structured like this:
@Input()
additionalInfo?: Map<string, string>;
Any recommendations for a better way to handle passing such data to components would be greatly appreciated.