Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Jun 5, 2020
1 parent 2b5a40e commit 57b50f1
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 57b50f1

Please sign in to comment.