import type { ButtonConfig } from '../../../../index.type';
import type { BimEngine } from '../../../../../../bim-engine';

/**
 * 剖切菜单按钮配置
 */
export const createSectionMenuButton = (_engine: BimEngine): ButtonConfig => {
    return {
        id: 'section',
        groupId: 'group-1',
        type: 'menu',
        label: 'toolbar.section',
        align: 'vertical',
        icon: '<svg width="32" height="32" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="currentColor"/></svg>',
        keepActive: true,
        onClick: (button) => {
            console.log('剖切按钮被点击:', button.id);
        }
    };
};
