Skip to content

Commit ea37b55

Browse files
authored
Merge pull request #368 from rvsia/masterv2
[V2] Master to V2
2 parents 2c34334 + 447cc1a commit ea37b55

File tree

15 files changed

+1041
-176
lines changed

15 files changed

+1041
-176
lines changed

packages/pf4-component-mapper/demo/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@patternfly/[email protected]/patternfly-base.css"/>
7+
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@patternfly/[email protected]/patternfly-base.css"/>
8+
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@patternfly/[email protected]/patternfly-addons.css"/>
89
<title>Data driven forms</title>
910
</head>
1011
<body>

packages/pf4-component-mapper/src/components/component-mapper.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import DatePicker from './date-picker';
1313
import TimePicker from './time-picker';
1414
import Switch from './switch';
1515
import PlainText from './plain-text';
16+
import DualListSelect from './dual-list-select';
1617

1718
const mapper = {
1819
[componentTypes.TEXT_FIELD]: TextField,
@@ -27,7 +28,8 @@ const mapper = {
2728
[componentTypes.WIZARD]: Wizard,
2829
[componentTypes.SWITCH]: Switch,
2930
[componentTypes.PLAIN_TEXT]: PlainText,
30-
[componentTypes.FIELD_ARRAY]: FieldArray
31+
[componentTypes.FIELD_ARRAY]: FieldArray,
32+
'dual-list-select': DualListSelect
3133
};
3234

3335
export default mapper;
@@ -41,7 +43,8 @@ export const components = {
4143
DatePicker,
4244
TimePicker,
4345
Switch,
44-
PlainText
46+
PlainText,
47+
DualListSelect
4548
};
4649

4750
export const rawComponents = {

0 commit comments

Comments
 (0)