-
Notifications
You must be signed in to change notification settings - Fork 80
/
attributeUniqueness.jsx
45 lines (41 loc) · 1.34 KB
/
attributeUniqueness.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import React from "react";
import { noop } from "patternfly-react";
import PropTypes from "prop-types";
import PluginBasicConfig from "./pluginBasicConfig.jsx";
import "../../css/ds.css";
class AttributeUniqueness extends React.Component {
render() {
return (
<div>
<PluginBasicConfig
rows={this.props.rows}
serverId={this.props.serverId}
cn="attribute uniqueness"
pluginName="Attribute Uniqueness"
cmdName="attr-uniq"
savePluginHandler={this.props.savePluginHandler}
pluginListHandler={this.props.pluginListHandler}
addNotification={this.props.addNotification}
toggleLoadingHandler={this.props.toggleLoadingHandler}
/>
</div>
);
}
}
AttributeUniqueness.propTypes = {
rows: PropTypes.array,
serverId: PropTypes.string,
savePluginHandler: PropTypes.func,
pluginListHandler: PropTypes.func,
addNotification: PropTypes.func,
toggleLoadingHandler: PropTypes.func
};
AttributeUniqueness.defaultProps = {
rows: [],
serverId: "",
savePluginHandler: noop,
pluginListHandler: noop,
addNotification: noop,
toggleLoadingHandler: noop
};
export default AttributeUniqueness;