How to use the react-select.components.DropdownIndicator function in react-select

To help you get started, we’ve selected a few react-select examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Opentrons / opentrons / components / src / forms / SelectField.js View on Github external
function DropdownIndicator(props: *) {
  const iconWrapperCx = cx(styles.dropdown_icon_wrapper, {
    [styles.flipped]: props.selectProps.menuIsOpen,
  })

  return (
    components.DropdownIndicator && (
      
        <div>
          
        </div>
      
    )
  )
}
// custom Menu (options dropdown) component
github Opentrons / opentrons / components / src / instrument / PipetteSelect.js View on Github external
function DropdownIndicator(props: any) {
  const iconWrapperCx = cx(styles.dropdown_icon_wrapper, {
    [styles.flipped]: props.selectProps.menuIsOpen,
  })

  return (
    components.DropdownIndicator &amp;&amp; (
      
        <div>
          
        </div>
      
    )
  )
}
// custom Menu (options dropdown) component
github moderntribe / events-gutenberg / plugins / common / src / modules / elements / select / element.js View on Github external
const DropdownIndicator = ( props ) =&gt; (
	components.DropdownIndicator &amp;&amp; (
		
			
		
	)
);
github nwplus / nwhacks2019 / web / components / input / select / index.js View on Github external
const DropdownIndicator = (props) =&gt; {
  const { selectProps } = props;
  return components.DropdownIndicator &amp;&amp; (
    
      <img alt="↓" src="{arrow}">
    
  );
};
github streamr-dev / streamr-platform / app / src / shared / components / SelectInput / Select / index.jsx View on Github external
const DropdownIndicator = (props) =&gt; (
    components.DropdownIndicator &amp;&amp; (
        
            
        
    )
)
github dexma / ui-components / src / components / Select.js View on Github external
const DropdownIndicator = props =&gt; {
  const iconName = props.selectProps.menuIsOpen ? 'chevron_up' : 'chevron_down';
  return (
    components.DropdownIndicator &amp;&amp; (
      
        
      
    )
  );
};
github tinacms / tinacms / packages / @tinacms / fields / src / Select / Select.tsx View on Github external
const DropdownIndicator = (props: any) =&gt; {
  if (!components.DropdownIndicator) return null;

  return (
    
      
    
  )
}
github moderntribe / events-gutenberg / plugins / common / src / modules / elements / creatable-select / element.js View on Github external
const DropdownIndicator = ( props ) =&gt; (
	components.DropdownIndicator &amp;&amp; (
		
			
		
	)
);
github EnMarche / en-marche.fr / public / apps / atelier-des-idees / src / components / Select / index.jsx View on Github external
const DropdownIndicator = props =&gt;
    components.DropdownIndicator &amp;&amp; (
        
            <span>
        </span>
    );
github microsoft / WebTemplateStudio / src / client / src / components / Dropdown / index.tsx View on Github external
const DropdownIndicator = (props: any) =&gt; {
  return (
    components.DropdownIndicator &amp;&amp; (
      
        
      
    )
  );
};