Skip to content

Commit

Permalink
fix(images): add nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmen committed Dec 3, 2023
1 parent 940fa54 commit 895ece9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/images/BackgroundImage/BackgroundImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {SkeletonLoading} from "../../loadings";
import {StyleProps} from "../../types";

export interface BackgroundImageProps extends StyleProps {
src: string;
src: string | null;
empty?: string;
children?: ReactNode;
}
Expand Down
2 changes: 1 addition & 1 deletion src/images/Image/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {SkeletonLoading} from "../../loadings";
import {StyleProps} from "../../types";

export interface ImageProps extends StyleProps {
src: string;
src: string | null;
width: string | number;
height: string | number;
alt?: string;
Expand Down
11 changes: 0 additions & 11 deletions src/index.ts

This file was deleted.

0 comments on commit 895ece9

Please sign in to comment.