import { P as e } from "../../../../packageName-CJwD6mUt.js";
const o = `import { ComboBox, ComboBoxGroup } from '${e}';
import { useState } from 'react';

const App = () => {
  const [selectedValue, setSelectedValue] = useState<string>();
  const menuItems: ComboBoxGroup[] = [
    {
      heading: 'Suggestions',
      items: [
        {
          label: 'Dashboard',
          value: 'dashboard',
        },
        {
          label: 'Settings',
          value: 'settings',
        }
      ]
    }
  ];

  return (
    <ComboBox
      placeholder="Search actions..."
      menuItems={menuItems}
      onSelect={(value) => setSelectedValue(value)}
      value={selectedValue}
    />
  );
};`;
export {
  o as default
};
//# sourceMappingURL=source.js.map
