mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Moved ImageUpload
labels from props to children
refs https://github.com/TryGhost/Team/issues/3318
This commit is contained in:
parent
091b3acd61
commit
449ce994f4
2 changed files with 6 additions and 4 deletions
|
@ -67,10 +67,11 @@ const Facebook: React.FC = () => {
|
|||
height='300px'
|
||||
id='twitter-image'
|
||||
imageURL={facebookImage}
|
||||
label='Upload Facebook image'
|
||||
onDelete={handleImageDelete}
|
||||
onUpload={handleImageUpload}
|
||||
/>
|
||||
>
|
||||
Upload Facebook image
|
||||
</ImageUpload>
|
||||
<div className="flex flex-col gap-x-6 gap-y-7 px-4 pb-7">
|
||||
<TextField
|
||||
clearBg={true}
|
||||
|
|
|
@ -69,10 +69,11 @@ const Twitter: React.FC = () => {
|
|||
height='300px'
|
||||
id='twitter-image'
|
||||
imageURL={twitterImage}
|
||||
label='Upload Twitter image'
|
||||
onDelete={handleImageDelete}
|
||||
onUpload={handleImageUpload}
|
||||
/>
|
||||
>
|
||||
Upload Twitter image
|
||||
</ImageUpload>
|
||||
<div className="flex flex-col gap-x-6 gap-y-7 px-4 pb-7">
|
||||
<TextField
|
||||
clearBg={true}
|
||||
|
|
Loading…
Add table
Reference in a new issue