mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
🚚 Rename component to TitleExtra
This commit is contained in:
parent
1ca6641d77
commit
4da27fdb05
4 changed files with 16 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
import { TextControl } from '@wordpress/components';
|
||||
|
||||
import SettingsBlock from '../SettingsBlock';
|
||||
import { Title, Action, Description, SupplementaryLabel } from '../Elements';
|
||||
import { Title, Action, Description, TitleExtra } from '../Elements';
|
||||
|
||||
const InputSettingsBlock = ( {
|
||||
title,
|
||||
|
@ -18,11 +18,7 @@ const InputSettingsBlock = ( {
|
|||
<SettingsBlock className="ppcp-r-settings-block__input">
|
||||
<Title>
|
||||
{ title }
|
||||
{ supplementaryLabel && (
|
||||
<SupplementaryLabel>
|
||||
{ supplementaryLabel }
|
||||
</SupplementaryLabel>
|
||||
) }
|
||||
<TitleExtra>{ supplementaryLabel }</TitleExtra>
|
||||
</Title>
|
||||
{ showDescriptionFirst && TheDescription }
|
||||
<Action>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue