diff --git a/packages/web-react/src/components/DropdownModern/demo/DropdownModernEnhancedShadow.tsx b/packages/web-react/src/components/DropdownModern/demo/DropdownModernEnhancedShadow.tsx new file mode 100644 index 0000000000..69bdfa1e77 --- /dev/null +++ b/packages/web-react/src/components/DropdownModern/demo/DropdownModernEnhancedShadow.tsx @@ -0,0 +1,25 @@ +import React from 'react'; +import DropdownModern from '../../Dropdown/DropdownModern'; +import DropdownTrigger from '../../Dropdown/DropdownTrigger'; +import DropdownPopover from '../../Dropdown/DropdownPopover'; +import { Button } from '../../Button'; +import { dropdownContent } from './constants'; +import DropdownContentFactory from './DropdownContentFactory'; + +const DropdownModernEnhancedShadow = () => { + const [isOpen, setIsOpen] = React.useState(false); + const onToggle = () => setIsOpen(!isOpen); + + return ( +
+ + Finibus quis imperdiet, semper imperdiet aliquam + + + + +
+ ); +}; + +export default DropdownModernEnhancedShadow; diff --git a/packages/web-react/src/components/DropdownModern/demo/index.tsx b/packages/web-react/src/components/DropdownModern/demo/index.tsx index 4fccf84705..c2386bebac 100644 --- a/packages/web-react/src/components/DropdownModern/demo/index.tsx +++ b/packages/web-react/src/components/DropdownModern/demo/index.tsx @@ -32,6 +32,9 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( + + + , );