Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #65 from smartive-education/feature/image-container
Browse files Browse the repository at this point in the history
fix:(ImageContainer): src required #60
  • Loading branch information
tomschall authored Jan 6, 2023
2 parents f76ca1c + 600a500 commit 8883cd0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import tw from 'twin.macro';
import { Fullscreen, Edit, Repost } from './icons/default_index';

export interface IImageContainerProps extends React.HtmlHTMLAttributes<HTMLImageElement> {
src?: string;
src: string;
alt: string;
fCallBack?: () => void;
type?: 'container' | 'banner';
Expand Down Expand Up @@ -128,7 +128,7 @@ const Figure = styled.figure.attrs({ className: 'group' })(({ type }: IImageIcon
max-h-[320px]
mt-4
mb-24
mb-16
bg-violet-200
hover:bg-violet-600
Expand Down

0 comments on commit 8883cd0

Please sign in to comment.