initial commit
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
import { useBlockProps } from '@wordpress/block-editor';
|
||||
|
||||
export const Columns = ( {
|
||||
children,
|
||||
...props
|
||||
}: {
|
||||
children?: React.ReactNode;
|
||||
} ): JSX.Element => {
|
||||
const blockProps = useBlockProps( props );
|
||||
|
||||
return <div { ...blockProps }>{ children }</div>;
|
||||
};
|
@ -0,0 +1 @@
|
||||
export * from './columns-block';
|
Reference in New Issue
Block a user