// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {MoreMenu} from '@astryxdesign/core/MoreMenu'; import { PencilIcon as EditIcon, DocumentDuplicateIcon as CopyIcon, TrashIcon as DeleteIcon, } from '@heroicons/react/24/outline'; export default function MoreMenuWithSections() { return ( {}}, { label: 'Duplicate', icon: CopyIcon, onClick: () => {}, }, ], }, { type: 'section', title: 'Danger zone', items: [{label: 'Delete', icon: DeleteIcon, onClick: () => {}}], }, ]} /> ); }