-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into support-null-as-string
- Loading branch information
Showing
12 changed files
with
188 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
interface CustomerProps { | ||
image: string | ||
alt: string | ||
className?: string | ||
} | ||
|
||
interface LogoProps { | ||
src: string | ||
alt: string | ||
className?: string | ||
} | ||
|
||
const Logo = ({ src, alt, className = '' }: LogoProps): JSX.Element => ( | ||
<img className={`bg-transparent w-full px-3 py-3 h-10 ${className}`} src={src} alt={alt} /> | ||
) | ||
|
||
export const CustomerLogo = ({ image, alt, className = '' }: CustomerProps): JSX.Element => { | ||
return ( | ||
<li className="flex items-center justify-center w-full"> | ||
<Logo className={className} src={image} alt={alt} /> | ||
</li> | ||
) | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.