mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
♻️ Remove description-location-logic
This commit is contained in:
parent
f90ab656f5
commit
7a71ff3657
4 changed files with 16 additions and 17 deletions
|
@ -6,7 +6,6 @@ const SettingsBlock = ( {
|
|||
children,
|
||||
title,
|
||||
titleSuffix,
|
||||
headerDescription,
|
||||
description,
|
||||
horizontalLayout = false,
|
||||
separatorAndGap = true,
|
||||
|
@ -20,16 +19,13 @@ const SettingsBlock = ( {
|
|||
<div className={ blockClassName }>
|
||||
<Header>
|
||||
<Title>
|
||||
{ title } <TitleExtra>{ titleSuffix }</TitleExtra>
|
||||
{ title }
|
||||
<TitleExtra>{ titleSuffix }</TitleExtra>
|
||||
</Title>
|
||||
<Description>{ headerDescription }</Description>
|
||||
<Description>{ description }</Description>
|
||||
</Header>
|
||||
|
||||
<Content asCard={ false }>
|
||||
{ children }
|
||||
|
||||
<Description>{ description }</Description>
|
||||
</Content>
|
||||
<Content asCard={ false }>{ children }</Content>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue