) : (
)
}
iconPosition="right"
onClick={ () =>
setShowCustomSizes( ! showCustomSizes )
}
>
{ __( 'Custom sizes per heading', 'aureon' ) }
{ showCustomSizes && (
{ HEADING_LEVELS.map( ( level ) => (
setPath(
fieldPath(
`overrides.${ level.key }`
),
value
)
}
/>
) ) }
) }
>
) }
{ ( 'body' === section.key ||
'headings' === section.key ||
'misc' === section.key ) && (