ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/helpers/enhanced-select.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';

import { FormSpy } from '../forms/data-driven-form';
import Select from '../components/select';

const enhancedSelect = (props) => <FormSpy subscription={{ values: true }}>{() => <Select {...props} />}</FormSpy>;

export default enhancedSelect;