2019-08-23 14:48:48 +00:00
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import './editor.scss';
|
2020-08-04 08:29:02 +00:00
|
|
|
import { getBlockClassName, getDataAttrs } from './utils.js';
|
2019-08-23 14:48:48 +00:00
|
|
|
|
|
|
|
export default ( { attributes } ) => {
|
|
|
|
return (
|
2019-09-09 10:52:48 +00:00
|
|
|
<div
|
2020-08-04 08:29:02 +00:00
|
|
|
className={ getBlockClassName( attributes ) }
|
|
|
|
{ ...getDataAttrs( attributes ) }
|
2019-09-09 10:52:48 +00:00
|
|
|
/>
|
2019-08-23 14:48:48 +00:00
|
|
|
);
|
|
|
|
};
|