♻️ Organize some reusable components

This commit is contained in:
Philipp Stracker 2025-01-21 18:57:36 +01:00
parent c7b80b6cd5
commit 47294ca530
No known key found for this signature in database
30 changed files with 152 additions and 141 deletions

View file

@ -0,0 +1,12 @@
import classNames from 'classnames';
const Header = ( { children, className = '' } ) => {
const elementClasses = classNames(
'ppcp-r-settings-block__header',
className
);
return <div className={ elementClasses }>{ children }</div>;
};
export default Header;