diff --git a/packages/unleash-frontend-next/mock-api.json b/packages/unleash-frontend-next/mock-api.json
index 18ac7346df..0bc4ee1726 100644
--- a/packages/unleash-frontend-next/mock-api.json
+++ b/packages/unleash-frontend-next/mock-api.json
@@ -11,9 +11,7 @@
"name": "default",
"parameters": {}
}
- ],
- "strategy": "default",
- "parameters": {}
+ ]
},
{
"name": "Feature.B",
@@ -32,11 +30,44 @@
"percentage": "10"
}
}
- ],
- "strategy": "ActiveForUserWithId",
- "parameters": {
- "userIdList": "123,221,998"
- }
+ ]
+ },
+ {
+ "name": "Feature.C",
+ "description": "lorem ipsum",
+ "enabled": false,
+ "strategies": [
+ {
+ "name": "default",
+ "parameters": {}
+ }
+ ]
+ },
+ {
+ "name": "Feature.D",
+ "description": "lorem ipsum",
+ "enabled": true,
+ "strategies": [
+ {
+ "name": "default",
+ "parameters": {}
+ }
+ ]
+ },
+ {
+ "name": "Feature.E",
+ "description": "lorem ipsum",
+ "enabled": true,
+ "strategies": [
+ {
+ "name": "default",
+ "parameters": {}
+ },
+ {
+ "name": "FancyStrat",
+ "parameters": {}
+ }
+ ]
}
]
}
diff --git a/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx b/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx
index 97c30c802d..13e026bdb6 100644
--- a/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx
+++ b/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx
@@ -64,14 +64,13 @@ class AddFeatureToggle extends React.Component {
-
+
);
diff --git a/packages/unleash-frontend-next/src/component/feature/Feature.jsx b/packages/unleash-frontend-next/src/component/feature/Feature.jsx
index cb12dfd6c9..022b95a2ab 100644
--- a/packages/unleash-frontend-next/src/component/feature/Feature.jsx
+++ b/packages/unleash-frontend-next/src/component/feature/Feature.jsx
@@ -1,17 +1,24 @@
/* eslint no-shadow: ["error", { "allow": ["name"] }]*/
import React, { PropTypes } from 'react';
+import { Switch, FontIcon } from 'react-toolbox';
-const Feature = ({ onClick, name, enabled }) => (
-
Enabled | +Feature Toggle | +Strategies | +Actions | +
---|