mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +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 = ( {
|
||||
title,
|
||||
id = '',
|
||||
noCaps = false,
|
||||
initiallyOpen = null,
|
||||
description = '',
|
||||
children = null,
|
||||
|
@ -44,7 +45,7 @@ const Accordion = ( {
|
|||
>
|
||||
<Header>
|
||||
<TitleWrapper>
|
||||
<Title noCaps={ true }>{ title }</Title>
|
||||
<Title noCaps={ noCaps }>{ title }</Title>
|
||||
<Action>
|
||||
<Icon icon={ icon } />
|
||||
</Action>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue