Using the react-select to create the markup using bootstrap 4

前端 未结 1 752
天命终不由人
天命终不由人 2021-01-17 06:36

I am new to the react-redux. Here I am trying to achieve the following markup

So from Here what I achieved using the following code is ,

<
1条回答
  •  迷失自我
    2021-01-17 07:13

    You need to update the style of your selects like the following lines:

    const styles = {
      container: base => ({
        ...base,
        flex: 1
      })
    };
    
    function App() {
      return (
        
    Select Technolgoy
    Select Job
    ); }

    Here a live example.

    0 讨论(0)
提交回复
热议问题