mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
♻️ Allow styling of the accordion title
This commit is contained in:
parent
bd6a9cc2c1
commit
3e41928f59
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ import {
|
||||||
const Accordion = ( {
|
const Accordion = ( {
|
||||||
title,
|
title,
|
||||||
id = '',
|
id = '',
|
||||||
|
noCaps = false,
|
||||||
initiallyOpen = null,
|
initiallyOpen = null,
|
||||||
description = '',
|
description = '',
|
||||||
children = null,
|
children = null,
|
||||||
|
@ -44,7 +45,7 @@ const Accordion = ( {
|
||||||
>
|
>
|
||||||
<Header>
|
<Header>
|
||||||
<TitleWrapper>
|
<TitleWrapper>
|
||||||
<Title noCaps={ true }>{ title }</Title>
|
<Title noCaps={ noCaps }>{ title }</Title>
|
||||||
<Action>
|
<Action>
|
||||||
<Icon icon={ icon } />
|
<Icon icon={ icon } />
|
||||||
</Action>
|
</Action>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue