Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Load Cross-Sells block children on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslange committed Jun 30, 2022
1 parent 26527e7 commit b3b864d
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/**
* Internal dependencies
*/
import Block from './block';
interface Props {
children?: JSX.Element | JSX.Element[];
className?: string;
}

export default Block;
const FrontendBlock = ( { children, className = '' }: Props ): JSX.Element => {
return <div className={ className }>{ children }</div>;
};

export default FrontendBlock;

0 comments on commit b3b864d

Please sign in to comment.