docs: change from showing required to showing optional in types references (#8593)
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user