@oticon/product-components v1.2.4
product-features
React component to display features for (Bernafon) family.
Props
The component takes the prop data, which is a map of type:
[featureTypeId => {name: featureTypeName, features: {name: featureName, value: null | featureValue}.
For example, the features "Dynamic Directionality" with the value "1 setting" and "Dynamic Noise Reduction" with no value, which both belong to feature type "Dynamic Noise Management" (with Sitecore ID "{5C9CB66C-3A92-4D9F-9D1B-E6F8AAF72791}"), can be added as follows:
const data = new Map();
const features = [
{name: "Dynamic Directionality", value: "1 setting"},
{name: "Dynamic Noise Reduction", value: null}
];
const featureTypeRecord = {name: "Dynamic Noise Management", features};
data.set("{5C9CB66C-3A92-4D9F-9D1B-E6F8AAF72791}", featureTypeRecord);
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago