-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'
- Loading branch information
Alder Whiteford
authored and
Alder Whiteford
committed
Jun 20, 2024
1 parent
b107f87
commit 3ae7fd2
Showing
4 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
frontend/mobile/src/app/design-system/components/ClubCard/ClubCard.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Tag } from '@generatesac/lib'; | ||
|
||
import ClubCardStandard from './Variants/ClubCardStandard'; | ||
|
||
export interface ClubCardProps { | ||
id: string; | ||
logo: string; | ||
name: string; | ||
tags?: Tag[]; | ||
variant?: 'standard'; | ||
} | ||
|
||
export const Clubcard = ({ | ||
id, | ||
logo, | ||
name, | ||
variant = 'standard' | ||
}: ClubCardProps) => { | ||
switch (variant) { | ||
case 'standard': | ||
return <ClubCardStandard id={id} logo={logo} name={name} />; | ||
default: | ||
return <ClubCardStandard id={id} logo={logo} name={name} />; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1402,10 +1402,10 @@ | |
humps "^2.0.1" | ||
prop-types "^15.7.2" | ||
|
||
"@generatesac/[email protected].191": | ||
version "0.0.191" | ||
resolved "https://registry.yarnpkg.com/@generatesac/lib/-/lib-0.0.191.tgz#3c999ee26ed1eaab77f8bd1f435d779990fabbba" | ||
integrity sha512-8P0bPY4DNSW4fgTFVpS4EOR4dRgZ4aI+EJvce4RiBIXQLnfwfAbxEtr0M1xHimEZxLH7Lhe3HpUl7Lt0Qx8arQ== | ||
"@generatesac/[email protected].193": | ||
version "0.0.193" | ||
resolved "https://registry.yarnpkg.com/@generatesac/lib/-/lib-0.0.193.tgz#191e989703e6dbb2ca1c3d2e3de9f76dab0ac51b" | ||
integrity sha512-vZ4ionDqakCsMN7zNxjJh88yL2sxeVL1Hz7yaW2Ce/pE9fYo5CczcDhQPTL+h+o77g1ldgo0ZLCLlng+0r9YKA== | ||
dependencies: | ||
"@reduxjs/toolkit" "^2.2.3" | ||
react "^18.2.0" | ||
|