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 className="tile-tags">
|
||||
{tags.length ? (
|
||||
<Tags columnCount={2} tags={tags} onSelectTag={() => {}} />
|
||||
<Tags columnCount={2} tags={tags} />
|
||||
) : (
|
||||
<Tag
|
||||
className="type_tag"
|
||||
tag="script"
|
||||
label={defaultTagLabel}
|
||||
isDefault
|
||||
onClick={() => {}}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
@ -53,5 +53,5 @@ export interface TagsProps {
|
||||
/** Accepts css style */
|
||||
style?: React.CSSProperties;
|
||||
/** 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