mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
11 lines
325 B
JavaScript
11 lines
325 B
JavaScript
import classNames from 'classnames';
|
|
|
|
const SettingsBlock = ( { className, children, separatorAndGap = true } ) => {
|
|
const blockClassName = classNames( 'ppcp-r-settings-block', className, {
|
|
'no-gap': ! separatorAndGap,
|
|
} );
|
|
|
|
return <div className={ blockClassName }>{ children }</div>;
|
|
};
|
|
|
|
export default SettingsBlock;
|