Skip to content

Commit

Permalink
Add arrow for clickable cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiden-Brine committed Oct 8, 2024
1 parent cb4acc4 commit d922bf3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/components/Card/Web.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { Heading } from "@jobber/components/Heading";
import { InputGroup } from "@jobber/components/InputGroup";
import { InputText } from "@jobber/components/InputText";
import { Button } from "@jobber/components/Button";
import { Icon } from "@jobber/components/Icon";
import { Flex } from "@jobber/components/Flex";

export default {
title: "Components/Layouts and Structure/Card/Web",
Expand Down Expand Up @@ -53,7 +55,10 @@ const BasicTemplate: ComponentStory<typeof Card> = args => (
const ClickTemplate: ComponentStory<typeof Card> = args => (
<Card {...args}>
<Content>
<Heading level={4}>View all</Heading>
<Flex template={["grow", "shrink"]} align="start">
<Heading level={4}>View all</Heading>
<Icon size="small" name="arrowRight" />
</Flex>
<Text>
See how our 20+ features can help you organize, impress, and grow.
</Text>
Expand Down

0 comments on commit d922bf3

Please sign in to comment.