故事详情排版修改
This commit is contained in:
@@ -16,6 +16,7 @@ interface Props {
|
||||
imageInstanceId?: string;
|
||||
imageList?: ImageItem[];
|
||||
currentIndex?: number;
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
|
||||
const TimelineImage: React.FC<Props> = (props) => {
|
||||
@@ -28,6 +29,7 @@ const TimelineImage: React.FC<Props> = (props) => {
|
||||
height = 200,
|
||||
imageList = [],
|
||||
currentIndex = 0,
|
||||
style,
|
||||
} = props;
|
||||
|
||||
const { imageUrl, loading } = useFetchImageUrl(imageInstanceId ?? '');
|
||||
@@ -55,6 +57,7 @@ const TimelineImage: React.FC<Props> = (props) => {
|
||||
}}
|
||||
height={height}
|
||||
width={width}
|
||||
style={style}
|
||||
alt={title}
|
||||
fallback={
|
||||
fallback ??
|
||||
|
||||
Reference in New Issue
Block a user