mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
🔀 Merge branch 'trunk' & resolve conflicts
# Conflicts: # modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/FeatureSettingsBlock.js # modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/Features.js
This commit is contained in:
commit
a582b256d8
4 changed files with 389 additions and 252 deletions
|
@ -46,6 +46,15 @@ const FeatureSettingsBlock = ( { title, description, ...props } ) => {
|
|||
return <Button { ...buttonProps }>{ text }</Button>;
|
||||
};
|
||||
|
||||
const renderDescription = () => {
|
||||
return (
|
||||
<span
|
||||
className="ppcp-r-feature-item__description ppcp-r-settings-block__feature__description"
|
||||
dangerouslySetInnerHTML={ { __html: description } }
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<SettingsBlock { ...props } className="ppcp-r-settings-block__feature">
|
||||
<Header>
|
||||
|
@ -56,7 +65,7 @@ const FeatureSettingsBlock = ( { title, description, ...props } ) => {
|
|||
) }
|
||||
</Title>
|
||||
<Description className="ppcp-r-settings-block__feature__description">
|
||||
{ description }
|
||||
{ renderDescription() }
|
||||
{ printNotes() }
|
||||
</Description>
|
||||
</Header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue