diff --git a/src/Components.bf b/src/Components.bf index d78fe01..46f4215 100644 --- a/src/Components.bf +++ b/src/Components.bf @@ -69,4 +69,14 @@ static toReturn.AddClass("lyb-info"); return toReturn; } + + public static HTML LybImage(StringView path, int32 width, int32 height, StringView title) + { + var toReturn = new HTML( + Img(path, width, height, title)..AddClass("lyb-img") + ,title); + toReturn.Name = .("div"); + toReturn.AddClass("lyb-img-container"); + return toReturn; + } } \ No newline at end of file