-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58267ef
commit 74a29e3
Showing
2 changed files
with
55 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import React from 'react' | ||
import cx from 'classnames' | ||
import React from 'react'; | ||
import cx from 'classnames'; | ||
|
||
const SubblocksWrapper = ({ className, children, node }) => { | ||
return ( | ||
<div | ||
className={cx('volto-subblocks-wrapper', className)} | ||
ref={(_node) => { | ||
node = _node | ||
node = _node; | ||
}} | ||
> | ||
{children} | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default SubblocksWrapper | ||
export default SubblocksWrapper; |