Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onChange={() => {}}
placeholder="Filter"
/>,
this.comp
);
} else if (this.props.variation === 'MultiSelect') {
ReactDOM.render(
(item ? item.text : '')}
label="MultiSelect Label"
/>,
this.comp
);
} else if (this.props.variation === 'MultiSelect.Inline') {
NewComponent = reactComponent.MultiSelect;
ReactDOM.render(
(item ? item.text : '')}
label="MultiSelect Label"
type="inline"
/>,
this.comp
);
}
};
addReactComponent = () => {
let NewComponent = reactComponent[this.props.component];
if (this.props.component === 'ComboBox') {
ReactDOM.render(
(item ? item.text : '')}
placeholder="Filter..."
/>,
this.comp
);
} else if (this.props.variation === 'MultiSelect.Filterable') {
NewComponent = reactComponent.MultiSelect.Filterable;
ReactDOM.render(
(item ? item.text : '')}
onChange={() => {}}
placeholder="Filter"
/>,
this.comp
);
} else if (
this.props.variation === 'Dropdown' ||
this.props.variation === 'MultiSelect'
) {
ReactDOM.render(
addReactComponent = () => {
let NewComponent = reactComponent[this.props.component];
if (this.props.component === 'ComboBox') {
ReactDOM.render(
(item ? item.text : '')}
placeholder="Filter..."
/>,
this.comp
);
} else if (this.props.variation === 'MultiSelect.Filterable') {
NewComponent = reactComponent.MultiSelect.Filterable;
ReactDOM.render(
(item ? item.text : '')}
onChange={() => {}}
placeholder="Filter"
/>,
this.comp
);
} else if (this.props.variation === 'MultiSelect') {
ReactDOM.render(
(item ? item.text : '')}
label="MultiSelect Label"
/>,