mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
♻️ Add prefix to CSS state-classes
This commit is contained in:
parent
193e046a9a
commit
54504b7591
15 changed files with 32 additions and 33 deletions
|
@ -2,7 +2,7 @@ import classNames from 'classnames';
|
|||
|
||||
const SettingsBlock = ( { className, children, separatorAndGap = true } ) => {
|
||||
const blockClassName = classNames( 'ppcp-r-settings-block', className, {
|
||||
'no-gap': ! separatorAndGap,
|
||||
'ppcp--no-gap': ! separatorAndGap,
|
||||
} );
|
||||
|
||||
return <div className={ blockClassName }>{ children }</div>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue