Skip to content

Commit

Permalink
feat(pf4): add duallist component
Browse files Browse the repository at this point in the history
  • Loading branch information
rvsia committed Mar 9, 2020
1 parent 4644a35 commit bc8f541
Show file tree
Hide file tree
Showing 13 changed files with 818 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/pf4-component-mapper/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@patternfly/patternfly@2.43.0/patternfly-base.css"/>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@patternfly/patternfly@2.67.0/patternfly-base.css"/>
<title>Data driven forms</title>
</head>
<body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
import Wizard from './wizard/wizard';
import { Select } from './select/select';
import FieldArray from './fieldArray/index';
import DualListSelect from './dual-list-select';

const mapper = {
[componentTypes.TEXT_FIELD]: TextField,
Expand All @@ -31,6 +32,7 @@ const mapper = {
[componentTypes.SWITCH]: SwitchField,
[componentTypes.PLAIN_TEXT]: PlainTextField,
[componentTypes.FIELD_ARRAY]: FieldArray,
'dual-list-select': DualListSelect,
};

export default mapper;
Expand All @@ -45,6 +47,7 @@ export const components = {
TimePickerField,
SwitchField,
PlainTextField,
DualListSelect,
};

export const rawComponents = {
Expand Down
Loading

0 comments on commit bc8f541

Please sign in to comment.