From 57b50f11b90a7a3d4d4ad58de9005a7bb0719faa Mon Sep 17 00:00:00 2001 From: Giulia Ghisini Date: Sat, 6 Jun 2020 00:24:46 +0200 Subject: [PATCH] updated README --- README.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 3f6f94b..f28e7b8 100644 --- a/README.md +++ b/README.md @@ -131,22 +131,13 @@ In the `render()` function of this component, you have to iterate on `this.state #### Example ```jsx -/** - * Edit icons block. - * @module components/manage/Blocks/IconsBlocks/Edit - */ - import React from 'react' import { Grid } from 'semantic-ui-react' import { SubblocksEdit, withDNDContext } from 'volto-subblocks' import { SidebarPortal } from '@plone/volto/components' import EditBlock from './Block/EditBlock' import Sidebar from './Sidebar' -/** - * Edit icons block class. - * @class Edit - * @extends Component - */ + class Edit extends SubblocksEdit { /** * Render method. @@ -247,17 +238,13 @@ const messages = defineMessages({ defaultMessage: 'Description...', }, }) -/** - * Edit text block class. - * @class Edit - * @extends Component - */ + class EditBlock extends SubblockEdit { /** * Constructor * @method constructor * @param {Object} props Component properties - * @constructs WysiwygEditor + * @constructs EditBlock */ constructor(props) { super(props)