Skip to content

Commit

Permalink
docs: Reverse EmptyState page
Browse files Browse the repository at this point in the history
  • Loading branch information
renatamottam committed Jan 15, 2025
1 parent 750f57a commit 310d8a8
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions apps/site/pages/components/organisms/empty-state.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This component can be used to represent an empty state.
<EmptyState
title="Your Cart is empty"
titleIcon={
<Icon name="fs-shopping-cart" size={56} />
<Icon name="ShoppingCart" width={56} height={56} weight="thin" />
}
>
<Button variant="secondary">
Expand All @@ -68,12 +68,19 @@ This component can be used to represent an empty state.
variant="rounded"
title="Nothing matches with your search"
titleIcon={
<Icon name="fs-seal-warning" size={56} />
<Icon name="CircleWavyWarning" width={56} height={56} weight="thin" />
}
>
<Button
variant="secondary"
icon={ <Icon name="fs-tag" />}
icon={
<Icon
name="CircleWavyWarning"
width={18}
height={18}
weight="bold"
/>
}
iconPosition="left"
>
Browse Offers
Expand All @@ -88,7 +95,7 @@ This component can be used to represent an empty state.
<EmptyState
title="Your Cart is empty"
titleIcon={
<Icon name="fs-shopping-cart" size={56} />
<Icon name="ShoppingCart" width={56} height={56} weight="thin" />
}
>
<Button variant="secondary">
Expand All @@ -103,12 +110,19 @@ This component can be used to represent an empty state.
variant="rounded"
title="Nothing matches with your search"
titleIcon={
<Icon name="fs-seal-warning" size={56} />
<Icon name="CircleWavyWarning" width={56} height={56} weight="thin" />
}
>
<Button
variant="secondary"
icon={ <Icon name="fs-tag" />}
icon={
<Icon
name="CircleWavyWarning"
width={18}
height={18}
weight="bold"
/>
}
iconPosition="left"
>
Browse Offers
Expand Down Expand Up @@ -149,7 +163,7 @@ Follow the instructions in the [Importing FastStore UI component styles](/docs/c
<EmptyState
title="Your Cart is empty"
titleIcon={
<Icon name="fs-shopping-cart" size={56} />
<Icon name="ShoppingCart" width={56} height={56} weight="thin" />
}
>
<Button variant="secondary">
Expand All @@ -163,7 +177,7 @@ Follow the instructions in the [Importing FastStore UI component styles](/docs/c
<EmptyState
title="Your Cart is empty"
titleIcon={
<Icon name="fs-shopping-cart" size={56} />
<Icon name="ShoppingCart" width={56} height={56} weight="thin" />
}
>
<Button variant="secondary">
Expand Down

0 comments on commit 310d8a8

Please sign in to comment.