import { registerBlockType } from '@wordpress/blocks';
import { __ } from '@wordpress/i18n';
import { navigation } from '@wordpress/icons';
import Edit from './edit';
import './editor.scss';

registerBlockType('memberpress/readylaunch-account-menu', {
  title: __('ReadyLaunch Account Menu', 'memberpress'),
  icon: navigation,
  category: 'memberpress',
  description: __('Account navigation menu with layout and color controls.', 'memberpress'),
  keywords: [__('account menu', 'memberpress'), __('navigation', 'memberpress')],
  parent: ['memberpress/readylaunch-account'],
  supports: {
    customClassName: false,
    html: false,
    reusable: false,
  },
  edit: Edit,
  save: function () {
    return null;
  },
});
