Commit 3f538894 authored by Remy Huet's avatar Remy Huet

Add custom Dropdown for redux-form

parent 32078688
Pipeline #30919 passed with stage
in 52 seconds
import React from 'react';
import { Dropdown } from 'semantic-ui-react';
export default function CustomDropdown({ currentValue, input, ...rest }) {
return (
<Dropdown
onChange={(event, data) => input.onChange(data.value)}
value={currentValue}
{...rest}
/>
);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment