mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 23:50:52 +01:00
Update LayoutImage
This commit is contained in:
parent
604c5f1fef
commit
3363aa0602
@ -7,7 +7,7 @@ export interface LayoutImageProps extends DetailedHTMLProps<HTMLAttributes<HTMLI
|
|||||||
|
|
||||||
export const LayoutImage: FC<LayoutImageProps> = props =>
|
export const LayoutImage: FC<LayoutImageProps> = props =>
|
||||||
{
|
{
|
||||||
const { imageUrl = null, style = null, ...rest } = props;
|
const { imageUrl = null, ...rest } = props;
|
||||||
|
|
||||||
return <img src={ imageUrl } alt="" { ...rest } />;
|
return <img src={ imageUrl } alt="" { ...rest } />;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user