We are trying to map a Record with a specific set of keys and values to specific react components. The values can be arbitrary but all values must have a property type
type