docs: change from showing required to showing optional in types references (#8593)

This commit is contained in:
Shahed Nasser
2024-08-15 16:29:49 +03:00
committed by GitHub
parent bda3f68057
commit 3bdfb66238

View File

@@ -205,14 +205,14 @@ const TypeListItem = ({
{item.type}
</MarkdownContent>
</span>
{item.optional === false && (
{item.optional === true && (
<span
className={clsx(
"text-compact-x-small-plus uppercase",
"text-medusa-fg-error"
"text-compact-x-small-plus",
"text-medusa-tag-blue-text"
)}
>
Required
Optional
</span>
)}
{item.featureFlag && (