import React from 'react';
import Search from '../../extra/orgTreeSelect';

export default function(props) {
    const isMultiple = props.isMultiple || false;
    return (
        <Search
            mode="org"
            dropdownStyle={{ width: props.width || 270, maxHeight: '300px' }}
            multiple={isMultiple}
            {...props}
        />
    );
}
