v2.3.1
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { Combo } from '@svar-ui/react-core';
|
||||
import UserStub from './UserStub.jsx';
|
||||
|
||||
function UsersCustomCombo(props) {
|
||||
const { value, options, onChange } = props;
|
||||
|
||||
return (
|
||||
<Combo
|
||||
options={options}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
clear
|
||||
placeholder="Assign to the person"
|
||||
>
|
||||
{({ option }) => <UserStub user={option} />}
|
||||
</Combo>
|
||||
);
|
||||
}
|
||||
|
||||
export default UsersCustomCombo;
|
||||
Reference in New Issue
Block a user