Skip to content

Commit

Permalink
docs: change from showing required to showing optional in types refer…
Browse files Browse the repository at this point in the history
…ences
  • Loading branch information
shahednasser committed Aug 14, 2024
1 parent a45ff1c commit 3e87611
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions www/packages/docs-ui/src/components/TypeList/Items/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down

0 comments on commit 3e87611

Please sign in to comment.