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

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-08-15 16:29:49 +03:00
1 parent bda3f68057
commit 3bdfb66238
1 file changed
+4 -4
@@ -205,14 +205,14 @@ const TypeListItem = ({
{item.type} {item.type}
</MarkdownContent> </MarkdownContent>
</span> </span>
{item.optional === false && ( {item.optional === true && (
<span <span
className={clsx( className={clsx(
"text-compact-x-small-plus uppercase", "text-compact-x-small-plus",
"text-medusa-fg-error" "text-medusa-tag-blue-text"
)} )}
> >
Required Optional
</span> </span>
)} )}
{item.featureFlag && ( {item.featureFlag && (