How to use terra-dropdown-button - 1 common examples

To help you get started, we’ve selected a few terra-dropdown-button 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 cerner / terra-core / packages / terra-dropdown-button / src / terra-dev-site / doc / example / EmphasisDropdownButton.jsx View on Github external
const Example = () => {
  const [message, setMessage] = useState('No option clicked');

  return (
         setMessage('1st option clicked')} />
         setMessage('2nd option clicked')} />
         setMessage('3rd option clicked')} />
         setMessage('4th option clicked')} />


Provides a dropdown button component and split button component for selecting a single option (action) from a list of options.

Latest version published 25 days ago

Package Health Score

88 / 100
Full package analysis

Popular terra-dropdown-button functions