Fix Bug 68369
Clickable tag button on the edit panel
This commit is contained in:
parent
7c1a2ede51
commit
2007d6063b
@ -49,14 +49,13 @@ const PreviewTile = ({
|
|||||||
</div>
|
</div>
|
||||||
<div className="tile-tags">
|
<div className="tile-tags">
|
||||||
{tags.length ? (
|
{tags.length ? (
|
||||||
<Tags columnCount={2} tags={tags} onSelectTag={() => {}} />
|
<Tags columnCount={2} tags={tags} />
|
||||||
) : (
|
) : (
|
||||||
<Tag
|
<Tag
|
||||||
className="type_tag"
|
className="type_tag"
|
||||||
tag="script"
|
tag="script"
|
||||||
label={defaultTagLabel}
|
label={defaultTagLabel}
|
||||||
isDefault
|
isDefault
|
||||||
onClick={() => {}}
|
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -53,5 +53,5 @@ export interface TagsProps {
|
|||||||
/** Accepts css style */
|
/** Accepts css style */
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
/** Accepts the function that is called when the tag is selected */
|
/** Accepts the function that is called when the tag is selected */
|
||||||
onSelectTag: (tag?: object) => void;
|
onSelectTag?: (tag?: object) => void;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user